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.
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
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!
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.
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.
© 2022 - 2024 — McMap. All rights reserved.