Codesign error: Certificate identity appearing twice

前端 未结 15 2181
孤城傲影
孤城傲影 2020-12-07 13:04

CodeSign error: Certificate identity \'iPhone Developer: XXXX (12345678)\' appears more than once in the keychain. The codesign tool requires there only be one.

So I

15条回答
  •  广开言路
    2020-12-07 13:39

    I have the same issue with xcode45-DP1. this works for me:

    1. remove all certificates related to your account from keychain. QUIT keychain

    2. remove all provisioning profiles related to your account from xcode:organizer:device:Library:provisioning profiles. QUIT xcode

    3. revoke your certificate and regenerate it and download it to your build machine

    4. before download provisioning profile, click on Edit next to the download button to make sure your name is selected.

    5. Then download the provisioning profile

    6. double click on the certificate to install it onto keychain

    7. drag the provisioning profile to xcode:organizer:device:Library:provisioning profiles

    8. do not click the refresh button from the xcode.

    9. make the build.

提交回复
热议问题