Xcode 4 -reinstalls keychain certs that I delete

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

    Figured out a really easy way to fix this in 4.6.1. You can do it without restarting anything or deleting any profiles!

    With Keychain Access and your Xcode project open:

    1. In Xcode, open Organizer - "Devices" and select the "team" with the duplicate certificate.
    2. Switch to Keychain Access and delete the old duplicate certificate(s). Note: Make sure you turn on "show expired certificates" to not miss any.
    3. The certificates will have disappeared from the "team" profile in the Xcode Organizer.
    4. Clean project and build.

    Hope it helps!

提交回复
热议问题