Xcode “Valid Signing Identity not found” warning

On February 14, 2012, in Mobile, by Anuj Gakhar

I switched computers today to do some Xcode development. (Yes, I am trying to learn iOS development using Objective-C). I had everything setup on my MacBook Pro but I wanted to do Xcode development on the new iMac I got. My sample iPhone app that I am building was working fine in the simulator.  Problems started when I wanted to try it on the actual device. In the Xcode organizer window, this is what it shows.

So, I thought, OK, I am missing the developer profile. So, I went into the Organizer window, click on Library -> Provisioning Profiles on the left hand navigation, clicked “Automatic Device Provisioning” checkbox at the bottom of the window and hit the “Refresh” button, assuming that this will download my profile and install everything that’s needed. However, that was not the case. After some struggling around with the issue and reading Apple’s resolution guide, I figured out that I need to export my certificate from the old computer and import it into the new one. That way, it will bring across the certificate along with the private key. What Xcode Organizer does is, it only installs the certificate but the private key file is missing.

Export Certificate from KeyChain

Launch the KeyChain application and click on “Certificates” in the left navigation. Type in “iPhone” in the top search bar to filter the results. Then right click on your valid certificate and export it.

Export the valid certificate, Xcode will ask for a password. This is a new password that you set for this export process. This is not the password you set when you first created the certificate. So do this and this will then generate a .p12 file.

Import

Copy the .p12 over to your new computer and drag it on to KeyChain app. KeyChain will ask for the password that you set during the Export process. Enter the password and that’s it! No More “Valid Signing Identity not found” errors in Xcode Organizer. Now you can deploy your app to your device, like usual.

Tagged with:  

9 Responses to Xcode “Valid Signing Identity not found” warning

  1. Ryan W. says:

    I have this issue except that my computer was formatted so I can’t “export” the certificate from the “old” computer (which is the same as the new computer.)

    Any thoughts?

  2. Pete says:

    Thank you!!! I had this exact problem tonight (developing iOS on a MBP, wanted to try it on my iMac), and I was just about to revoke my certs and reinstall when I saw your post.

    Much appreciated! Beautifully presented also, BTW. 🙂

  3. James says:

    I haven’t changed computers – my provisional profiles recently expired but, after I renewed them, I’m getting the message “Valid Signing Identity not found” in the organizer. I’ve tried to re-issue my certificates and I see them in the login keychain but the error message remains. Any ideas?

    Thanks,
    James

  4. Yury says:

    Excuse me, but where U can find the keychain app? I don’t have it in the utilities folder.

  5. Locutus says:

    Thanks a million! This solved a puzzle that I had been wrestling with for some time!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 445 other subscribers

© 2011 Anuj Gakhar
%d bloggers like this: