Code Sign error: Certificate identity 'iPhone Developer: My Name (xxx)' appears more than once in the keychain

后端 未结 14 460
故里飘歌
故里飘歌 2020-12-09 09:06

I m stuck with this error:

Code Sign error: Certificate identity \'iPhone Developer: My Name (xxx)\' appears more than once in the keychain. The codesign tool requir

相关标签:
14条回答
  • 2020-12-09 09:29

    Just move the other cer. from "login" to "system" ... and dont delete it... Trust me

    0 讨论(0)
  • 2020-12-09 09:30

    Fixed it by Organizer -> Teams (select Your Team) -> Refresh (low right corner).

    0 讨论(0)
  • 2020-12-09 09:34

    After moving to a new development mac, I had this problem. I tried deleting the duplicates and checking that there were no hidden expired ones, but the error persisted. The solution that worked for me was to copy the keychain pair from the old mac and imported it in the new mac. The problem was then solved with the following:

    • select the certificate in Keychain Access
    • Expand the arrow to see the private key
    • Double click the private key
    • Click Access Control
    • Choose 'Allow all applications to use this item'
    • Click Save Changes

    For me, I was then able to rebuild the app successfully.

    Hope that helps someone :-)

    0 讨论(0)
  • 2020-12-09 09:37

    I deleted every certificates and provisioning profiles and restart the system and add it again, it worked.

    0 讨论(0)
  • 2020-12-09 09:39

    I had the same problem. I checked every related question I could find on SO and followed the steps - but had no luck. It kept telling me that my distribution cert appeared more than once, but I could see that it only appeared once. I revoked certificates and closed X-Code many times, but it turned out that there was a 'hidden' certificate. I had an older Distribution Certificate that was not in the login keychain. It was in an unnamed keychain. When I deleted that one, it worked! So its worth looking around keychain access thoroughly!

    0 讨论(0)
  • 2020-12-09 09:46

    I've had the same issue after updating XCode to 4.3. Deleting certificates and provisioning profiles didn't change anything. There were no duplicates or expired ones anyway.

    It turned out the problem was that my private key was in both the session and the system keychains in the keychain access. I just had to remove it from the system keychain and i could build my projects again.

    0 讨论(0)
提交回复
热议问题