Xcode 4 -reinstalls keychain certs that I delete

前端 未结 16 1056
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 14:36

I am getting this error:

CodeSign error: Certificate identity \'iPhone Developer: XXX\' appears more than once in the keychain. The codesign too

16条回答
  •  感动是毒
    2020-12-12 15:11

    I had this same problem and the solutions above did not solve my problem (well nearly).

    I had the same duplicate developer ID/certificate that everyone is complaining about, and I tried deleting all my profiles, revoking/reissuing my cert, making sure there were none in the system keychain, restarting, etc etc.

    In the end it turned out there was a certificate in the system keychain, one that had expired and so was hidden by default in the list.

    Make sure you can see expired certificates in KeyChain

    To do this:

    1. Open Keychain Access
    2. Click View menu
    3. Click Show Expired Certificates
    4. then look for, and delete expired developer certs

提交回复
热议问题