Jenkins + XCode error “Select a development team”

Jenkins + XCode error “Select a development team”

I am configuring Jenkins + Xcode, to be able to build *.ipa files for testing it on iPhone. Recently I received an error:

 

=== BUILD TARGET MyProject OF PROJECT Overhaul WITH CONFIGURATION Release ===

Check dependencies
Signing for "MyProject" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'

** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Cleaning up previously generated .ipa files
Cleaning up previously generated .dSYM.zip files
Packaging IPA


I managed to work around this issue by supplying the team as a command line argument.

In Advanced Xcode build options -> Custom xcodebuild arguments 
Add DEVELOPMENT_TEAM=XXX where XXX = your developer prefix code

 

You can get your prefix code from the Apple developer center: https://developer.apple.com/account/ios/identifier/bundle then pick an app to expand and copy the value from Prefix

 

Stay tuned!

vovando Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *