I have Xcode 8.3.2 on Sierra. I am trying to build an Enterprise .ipa (have Enterprise membership).
I am having issues signing my app. Specifically in Xcode I have the following under General\Signing:
- Automatically manage signing is enabled
- Team: "My Team (Enterprise)"
- Provisioning Profile: Xcode Managed Profile
- Signing Certificate: iOS Developer
- Status
- Failed to create provisioning profile "com.myapp" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
- No profiles for 'com.myapp' were found. Xcode couldn't find a provisioning profile matching 'com.myapp'.
My steps were:
- Logged into Enterprise account at https://developer.apple.com/account/
- Under Certificates, Identifiers, and Profiles I selected the Add
- Selected In-House and Ad Hoc
- On my MAC in the Keychain Access I selected KeyChain Access\Certificate Assistant\Request a Certificate from a Certificate Authority
- Saved to my desktop
- In https://developer.apple.com/account/ I uploaded the certificate signing request
- I see it as a certificate as type iOS Distribution with and expiration date
- I download the .cer file and double click on it to install it
- Within Xcode\Preferences I find the Team under the Apple ID and under Manage Certificates I see iOS Distribution Certificates and Enterprise with today's date
- I select the Download All Profiles for that team
- In Xcode I select General\Signing and "My Team (Enterprise)
At this point I get the two errors described above.
I am new to Xcode development so I am sure there is something wrong with my steps.
Any insight would be greatly appreciated.
Well the solution to my issue was to do the following:
- In Xcode under the "General" tab to disable Automatically manage signing
- At https://developer.apple.com/account in my enterprise account under provisioning profiles I created a new distribution profile
- Downloaded the profile => .mobileprovision file
- Double clicked on the .mobileprovision file
- With Automatically manage signing disabled I then selected the Provisioning Profile I just created and downloaded in the drop downs for Signing (Debug) and Signing (Release)
- At this point I was able to archive and export an enterprise .ipa