Chad Geisler
Chad Geisler

Reputation: 11

xcode 8 w/jenkins xcode plugin, how to specify provisioning profiles

Error "Unity-iPhone requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.2'"

When Automatic code signing is unchecked Xcode is asking for a Release AND Debug provisioning profiles. This works when I manually build but I cannot figure out how to have Jenkins specify 2 provisioning profiles.

This is what I have set in Jenkins Custom xcodebuild arguments. PROVISIONING_PROFILE= CODE_SIGN_IDENTITY="iPhone Distribution"

I have tried repeating the profile name. I've also tried using PROVISIONING_PROFILE_SPECIFIER.

In Jenkins Custom xcodebuild arguments is there a way to specify a profile for release and debug?

Upvotes: 1

Views: 726

Answers (1)

Daneolog
Daneolog

Reputation: 286

Hmm... I don't believe you need both provisioning profiles. Go to the Project Editor and look under Signing. If you don't have a profile, click the dropdown and go add. If you do... click it... you know... Then try running it again.

Upvotes: 1

Related Questions