Xcode make it way too easy to create new signing identites.
In trying to fix a disk image signing problem, I now have several Developer ID Application certificates. This is causing the script that signs our distribution DMG file to fail. The command
codesign --sign "${CODE_SIGN_IDENTITY}" --verbose=3 "${DMG_FINAL}" >> "${TRANSCRIPT}" 2>&1produces the output:
Developer ID Application: ambiguous (matches "Developer ID Application: James (XXXXXXXXH54U)" and "Developer ID Application: James (XXXXXXXXH54U)" in /Users/james/Library/Keychains/login.keychain-db)It would seem that the obvious solution would be to simply delete the extranious certificates, but you can't seem to do that in Xcode. (The "Delete" menu item is always disabled.) I'm hesitent to delete anything directly from Keychain, becuase the last time I tried that it totally wrecked Xcode to the point that I had to delete everthing from Keychain and issue all new certificates.
Does anyone know how to resolve this?