iOS developer program certificate transfer

Max picture Max · Jul 29, 2013 · Viewed 21.9k times · Source

I have some problems with my developer certificate and profile. I have certificate of developer program on my office Mac. I want to develop and test the app on my device at home, so I have added my device and generated provision profile from office Mac. Download and install *.cer and provision on my home Mac, but I saw the error:

The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains

How to transfer keys from office Mac to my home Mac?

Answer

Nirav Bhatt picture Nirav Bhatt · Jul 29, 2013
  • Open your keychain program at workplace.
  • Select My certificates section. Select entries listed as iOS Developer certificate, iOS Distribution Certificate etc. For the sake of simplicity select everything that you find related to your membership.
  • Select Export.
  • It will ask you enter choice of password. Enter it.
  • It will export p12 file. Transfer this file to your home mac.
  • At home mac, import this p12 file into your Keychain Program.
  • Start XCode and try to build again using the provisioning profile.
  • If the above does not work, try the entire thing with Keys section of your Keychain program.