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 开发者_StackOverflowve 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.
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.
"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
Update target info properties(identifier field) and code sign identities in build fields .clean all targets and build
Pls install the .p12 file before installing provisioning profile..
精彩评论