Xcode Distribution Certificate Private Key Not Installed

Viewed 7322

I am trying to Ad-hoc distribute my app. However, when I archive and than try to export it I am getting following screens: enter image description here

On this screen, when I click "Manage Certificates" button, I get following screen: enter image description here

I tried to regenerate provision profile on Apple Developer Portal. I generated and downloaded Mobile Provision files and tried to export again the app but I am received the same missing private keys error.

UPDATE I tried to manually sign my app. When I choose "Download Profile" from 'Provisioning Profile' it gives me following output screen:

enter image description here

Thanks

2 Answers

I think you should start over.

  1. Quit Xcode.

  2. Delete DerivedData folder.

  3. Delete ~/Library/MobileDevice/Provisioning Profiles folder.

  4. In Keychain Access, delete everything related to Apple development.

  5. Go to portal in browser and delete all certificates and profiles.

Now start afresh.

I was able to locate the Xcode-AlternateDSID and Xcode-Token keys in Mac OS's Keychain Access utility. The utility allowed me to change the passwords to the keys after I entered the administrative password for my computer. Then I could use the new passwords when Xcode asked for them. This restored the missing private key for my iOS Distribution Certificate.

Related