Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone developer doesn't match any valid certificate (Xcode)

Hi I've kind of been cornered by apple here, I submitted a technical support query, one of the free ones thats comes free when you pay into the developer program only to be told that they won't be in the office until after Thanksgiving, a problem I overlooked as I am from Ireland. I really need help on this as I've tried looking in forums and I've tried solutions that were given for similar problems but I still can't crack it.

The screenshot images can be seen on this page.. http://www.heffernanwebservices.ie/blank.html

Here it goes...

DESCRIPTION OF PROBLEM On trying to build my project "Mulligan IRL" in xcode i get the following error " Code Sign error: The identity 'iPhone Developer: Cian Heffernan (8ELM27DL8F)' doesn't match any valid certificate/private key pair in the default keychain"

[Screenshot 1]

When I navigate to code signing in the build settings of the project i can see that when I click code signing identity for iphone developer or iphone distribution it has "(no profiles currently match) beside them. I then headed to the keychain access window in utilities and look in certificates and find that both the developer and distribution certificates will not expire until next August and November. Next I headed to the organizer in xcode. I see in provisioning profiles I have 8 profiles there! I don't know why I have so many.(2nd attachment)

[Screenshot 2]

As you can see ONE of the iOS team provisioning profiles will expire in 11days so I just tried to renew that. When I try this I get an error:(3rd attachment)

[Screenshot 3]

I then head to the provisioning portal to see why it wasn't found but I can see the profile. (4th attachment)

[Screenshot 4]

I have no idea why I am getting this error. I would appreciate any help on the matter.

like image 725
Cian Heffernan Avatar asked Nov 19 '11 13:11

Cian Heffernan


1 Answers

For certificate to be valid it needs to be associated in your Keychain with a private key. Find the "iPhone Developer..." certificate in your Keychain and see if it's got a private key associated with it.

This can occur when you develop on two or more computers. You need to export the certificate+private key pair from the computer where you generated the private key first. Then import it onto all computers you do development on.

See Apple's Transferring Your Identities for more detailed info.

like image 91
Michal Kopec Avatar answered Sep 26 '22 03:09

Michal Kopec