Xcode 4 -reinstalls keychain certs that I delete

前端 未结 16 902
被撕碎了的回忆
被撕碎了的回忆 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:08

    I spent for this a half-day and finally found the solution

    1. Open KeyChain Access.app
    2. Select "System" in "Keychains" menu on the left part of Keychain application screen
    3. Select "Certificates" in "Category" down menu
    4. Remove all old certifications.

    Then close Keychain.app and go to Xcode -> Organizer

    1. Remove all Provisioning Profiles in Library menu
    2. Remove all Provisioning Profiles in Devices menu
    3. Push "Refresh" button in Library menu -> Provisioning Profile
    4. Add needful profiles to your device

    Build again your app:)

提交回复
热议问题