Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code signing broken on Xcode 5.1 + iOS 7.1

Tags:

xcode

ios

Seems Apple has broken provisioning profiles in Xcode 5.1 ??

  1. Upgraded to Xcode 5.1
  2. Plugged in a device that wasn't registered on Dev Center
  3. Asked Xcode to auto-add it

Result:

  1. Developer Provisioning Profile is now corrupt in Xcode5

The following had no effect:

  1. Restarting Xcode
  2. Deleting profile and re-downloading within Xcode
  3. Check that certificate is valid
  4. Re-building with other profiles for same account/project (i.e. Distribution profiles) that had NOT been changed (works fine)

NOTE: in iPhone Configuration Utility, the profiles shows up as valid with all the registered devices. In Xcode5.1 I get:

Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“iOS Team Provisioning Profile: com.irisconnect.betairisconnect”) were found.

like image 705
Adam Avatar asked Dec 07 '22 02:12

Adam


1 Answers

Solution: it's Xcode 5.1 that is broken, with a major bug.

If you allow Xcode5 to download provisioning profiles, it now internally corrupts any Developer profiles it downloaded.

If you instead:

  1. quit Xcode
  2. login to web version of Dev Center
  3. manually download the profile
  4. install using iPhone Configuration Utility
  5. Re-start Xcode

...everything works fine.

Note: if you ever do the download within Xcode 5.1, then no amount of restarts will help you :(.

Thanks, Apple.

like image 152
Adam Avatar answered Dec 23 '22 14:12

Adam