Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8.3.2 signing errors

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:

  1. Logged into Enterprise account at https://developer.apple.com/account/
  2. Under Certificates, Identifiers, and Profiles I selected the Add
  3. Selected In-House and Ad Hoc
  4. On my MAC in the Keychain Access I selected KeyChain Access\Certificate Assistant\Request a Certificate from a Certificate Authority
  5. Saved to my desktop
  6. In https://developer.apple.com/account/ I uploaded the certificate signing request
  7. I see it as a certificate as type iOS Distribution with and expiration date
  8. I download the .cer file and double click on it to install it
  9. 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
  10. I select the Download All Profiles for that team
  11. 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.

like image 415
brent Avatar asked May 01 '17 13:05

brent


1 Answers

Well the solution to my issue was to do the following:

  1. In Xcode under the "General" tab to disable Automatically manage signing
  2. At https://developer.apple.com/account in my enterprise account under provisioning profiles I created a new distribution profile
  3. Downloaded the profile => .mobileprovision file
  4. Double clicked on the .mobileprovision file
  5. 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)
  6. At this point I was able to archive and export an enterprise .ipa
like image 162
brent Avatar answered Nov 09 '22 14:11

brent