Adnan Khan
Adnan Khan

Reputation: 917

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

I am getting the following error when i connected my ipad device in other simulator app is working fine

enter image description here

My app settings:

enter image description here

Please advise me.

Upvotes: 0

Views: 506

Answers (4)

Abizern
Abizern

Reputation: 150565

This could happen because:

  1. You do not have a valid Apple Developer Program membership. If this is the case than you need to enroll in the program.
  2. You don't have the certificate installed or a valid private key for the certificate. If this is the case you can either: a) Restore the certificate from a backup, or b)create and install a new certificate keypair.

All these problems and solutions are explained in the excellent Apple Technical note TN220

Upvotes: 0

Engnyl
Engnyl

Reputation: 1380

Creating a new certificate and provisioning profile out of it solves the problem most of the time.

Upvotes: 1

Blaine Murray
Blaine Murray

Reputation: 250

You need to be registered as an Apple Developer ($99 a year) in order to test your software on an iOS device. For more information, refer to https://developer.apple.com/register/index.action

Upvotes: 0

Bhavin
Bhavin

Reputation: 27225

Check the following :

1. Check that your current "Bundle Identifier" is same as your current "Provisioning Profile" name in "Code Signing Identity".

2. In "Code Signing identity block" - Check Debug AND Distribution have the same "Code Signing Information". Try to keep the "Code Signing Information" same in all the Blocks.

3. Try to Download the "Provisioning Profile" again and double click on the profile. Then use that newly downloaded profile in your "Code Signing Identity".

4. Try to Download the "Certificate" again from the "developer.apple.com" and double click on the certificate. (It worked in my case)

Then "Clean" the project and click on "Build for Archive". Hope your code will be archived perfectly.

Upvotes: 0

Related Questions