Struggling with building ReactNative - iOS

Description of the issue

iOS is failing to build even though I’ve got all the provisions + certificates uploaded :frowning:
I’ve tried a couple of solutions but to no avail. Any sort of help on this will be greatly appreciated.

Build log

Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
** ARCHIVE FAILED **

https://www.bitrise.io/build/3b1bd61fb6c665d3

@viktorbenei any help on this will be greatly appreciated :slight_smile:

Hi @zenreachengineering,

Checking the build log it seems there’s a missing wildcard team dev profile required for the Archive of your iOS project.

I’d suggest you to run our codesigndoc tool ( http://devcenter.bitrise.io/ios/code-signing/#collect-the-required-files-with-codesigndoc ) and upload all the files it collects for you.

Even better would be:

  1. do a clean git clone of the repo into a new directory on your Mac, to have it in the state bitrise.io gets when it clones it
  2. run a bitrise build there using our CLI: How to experiment with Bitrise configs locally, on your Mac/Linux
  3. as the code signing files are available on your Mac, the build should be successful on your own Mac, and the Xcode project is now in the exact same state it is on bitrise.io
  4. so run codesigndoc ( http://devcenter.bitrise.io/ios/code-signing/#collect-the-required-files-with-codesigndoc ) now. This way the tool should be able to collect all the required files for the project, as the project is in the same state it is on bitrise.io (the codesigndoc tool generates an Xcode Archive and then analyzes the required files which are printed by Xcode)

Please let us know how it goes or if you’d have any questions! :slight_smile: