Frage

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?

War es hilfreich?

Lösung

  • 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.

Andere Tipps

I think you need to export your office machine's developer profile, and then import it on your home machine. In xCode 4.x this was done from the Team in Organizer, and in xCode 5+ it is under accounts:

Your account is shown under XcodePreferencesAccounts, and can be exported by clicking the gear icon () in the lower-left.

Exporting Your Developer Profile

I used to get into similar issues I like to call CERT-Hell. I assume you have permissions to actually do what you are attempting. The best thing I have ever done was the use the built in processing within Xcode in the Organizer under Window. You never have to worry about actually importing certs, etc.

enter image description here

You will have to fanagle with it a little since I dont know what you have done already but the jist of it is that you can let XCode manage all your certificates for provisioning. Hope this helps you. enter image description here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top