When you download and install the. Cer file again, update the profile, and compile the iPhone project, you will find the following error: Codesign error: Certificate identity 'iphone developer: XXX appears more than once in the keychain'
This is a duplicate certificate error. You need to delete and compile the duplicate certificates in the key string to pass the compilation.
Enable key string access, Will repeat the iPhone
Developer: Delete the XXXXX certificate with only the recently installed certificate. Re-compile the certificate. The certificate can be successfully approved without any exceptions.
However, If you disable and re-open xcode and key access, you will find that the previously deleted certificate is back (this problem may not occur in earlier versions of xcode ). Because the certificate is also registered in xcode when it is registered into the key string, when xcode is restarted, the certificate in xcode will be copied into the key string, therefore, when deleting duplicate certificates in the key string, you should also delete unnecessary certificates (profiles) in xcode. Open the organizer of xcode, for example:
Delete duplicate or redundant profiles, delete unnecessary certificates in the key string, and restart again to check the effect.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.