Code signing error: Doesn't match key pair in default keychain
*****Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX' doesn't match any valid certificate/private key pair in the default keychain**.***
I am a member in developer profile, I have the provisioning profile installed, what must be the problem here?
Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX开发者_JAVA技巧XX' doesn't match any valid certificate/private key pair in the default keychain
What am I supposed to do? I already searched for a solution but still didn't find any.
This error suggests that there is a problem with either your certificate or your private key.
If you open Keychain Access (in Applications/Utilities), do you see 'iPhone Developer: XXXXXXXXXX' in your certificates? If not, you need to download it from the Program Portal.
When you created the certificate 'iPhone Developer: XXXXXXXXXX', did you generate a certificate signing request on the same computer that you are now using to compile? If not, the private key that goes with your certificate may not be installed on the computer; whoever generated the signing request will need to send it to you, and you will need to add it to your keychain.
Apple's steps to troubleshoot the issue are here: How do I resolve the CodeSign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain
- Just open a bash.
- Go into the ProjectName*.xcodeproj* directory
- And remove every *.mode1v3 and *.pbxuser file
Then start xcode again and you're lucky.
For my case it was like:
- cd iCodeBrowser/iCodeBrowser.xcodeproj/
- rm brandontrieb.*
精彩评论