Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5 quits unexpectedly right after I try to Downloading Identities

For some reason with the new Xcode 5, after I 'Validate' my app in the Organizer and attempt to download the identities by connecting to the iOS Dev Center through the organizer, the app closes. A message comes up saying that Xcode has closed unexpectedly. Please help! I feel like I've tried everything.

like image 819
TeenDev13 Avatar asked Sep 21 '13 07:09

TeenDev13


4 Answers

You need to refresh certs/prov profiles via XCode > Preferences > Accounts

XCode > Preferences > Accounts > Click on your DEV ACCOUNT > View Details button (bottom right) > Signing Iden/PPs screen appears > hit Refresh.

If error appears saying "no cert found" make sure you chose your dev account.

My email account is ADMIN status. I had clicked on the AGENT one by accident and when I hit refresh it said NO CERTS would I like to refresh. DONT!!

yes XCode crashes if you update PPs on developer.apple.com and then try and Validate in Xcode > Organizer

like image 78
brian.clear Avatar answered Nov 20 '22 21:11

brian.clear


Here's what worked for me:

  • Revoked my existing certificates (this was probably not necessary)
  • Had Xcode generate new certificates with Preferences > Accounts > View Details > Reload arrow (this was probably only necessary because I revoked)
  • Visited http://developer.apple.com > iOS Dev Center > Certificates, Identifiers & Profiles > Provisioning Profiles
  • Clicked + and added a new App Store provisioning profile
  • Downloaded the resulting profile and opened it (launches Xcode)

With this new profile, I'm no longer prompted that I have no identities. I've just submitted an app to the App Store with the new provisioning profile. Wish me luck!

like image 23
Aneel Avatar answered Nov 20 '22 21:11

Aneel


You need to create a New Provisioning Profile for distribution to fix it.

Make a new profile and clean and build your code again and Validate it again.

It should work fine.

Hope this solves your problem.

like image 2
Manthan Avatar answered Nov 20 '22 21:11

Manthan


I have same issue. I don't know how to fix it, but I have found a way to avoid this crash. Use Application Loader utility instead of Xcode uploading directly.

enter image description here

like image 1
k06a Avatar answered Nov 20 '22 21:11

k06a