Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MAS: Code Signing Identity Private Key

I've removed all development and installer certificates from the development portal, created a new CSR and generated new Application and Installer certificates.

Now I'm about to distribute the App to the MAS and am constantly presented with this error:

"Name" is a valid identity. However, the private key for the associated package
identity "Name" is not installed on this Mac.

Developer Profiles from a different Mac can be imported.

This puzzles me, since the private key is on the System, how else could I've generated the certificates without them?

enter image description here

like image 764
Era Avatar asked May 11 '12 23:05

Era


2 Answers

Double check you have removed all old certs, there is a menu item in the KeyChain app to show all expired certs. I threw away all expired certs and things started working.

like image 146
tgunr Avatar answered Oct 10 '22 17:10

tgunr


Got it working:

  • Created a new user account on my Mac
  • Cloned the repo there
  • Removed all Provisioning Profiles and Certificates from the Dev Portal
  • Let Xcode generate all the Certificates for you
  • Upload works!
like image 25
Era Avatar answered Oct 10 '22 17:10

Era