0

i have downloaded my certificate from developer portal and my provisioning file. i have added certificate into keychain access by clicking on it and added provisioning file into project. in my project i ve changed bundle identifier but when i want to debug over device it gives error;

"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain"

when i look at the "code signing identity" in property of the project i do not see my certificate. there is only "iphone developer" (i think it is the default value and it does not work)

thanks.

4 Answers 4

1

Your keychain doesn't have the private key of the certificate that you are trying to use. It would be on the Mac where the CSR(Certificate Signing Request) was generated . If it was generated on a different system, you need to export it in .p12 format, before you can use it on your Mac.

Sign up to request clarification or add additional context in comments.

Comments

0

"Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain" means in your keychain developer was not found . so first get certificate double click on it before that delete all key chain with same name ..after double tapping certificate keychain opens ..then use the same profile for that particular keychain and compile it

and also check this

2 Comments

have you checked that link which i provided?
problem will be with that certificate only and no other things and also change plist company name
0

Update target info properties(identifier field) and code sign identities in build fields .clean all targets and build

Comments

0

Pls install the .p12 file before installing provisioning profile..

1 Comment

where can i download .p12 file? btw since my certificate has expired i am trying to use my friends certificate.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.