Multiple Developer ID Application Certificates and Xcode Issues

Somehow I ended up with three different Developer ID Application Certtificates. This is causing Code signing issues on one of my Macs (but not the other). All three expire in 2018, one in October, one in September, one in November. I'm not sure how I ended up with three different developer id application certificates. Glad to see that all my already distributed apps use the same certificate.


But now, as I mentioned one of my Macs is having code signing issues because of this (Xcode gives an error related to multiple code signing identities). Xcode asks if I'd like to have it try to resolve the issue before me, but I don't want it to risk doing something wrong.


When I go to the keychain and try to remove the other certificates it fails (the row just reappears right away).


In the Member Center the "Revoke" button is grayed out. I really don't want to have to code sign from the command line every time. Any ideas how I'd resolve this issue?


Thanks all

Hmm...after reboot I was able to remove the duplicate certficate, but it just re-downloads when you go to "view details" in Xcode preferences.


I can't revoke the unused developer id certificates in the Member Center. I don't want to have Xcode manually reset the certificates and do some magic...because I don't know what will happen. I want to be able to update my already released Developer ID signed apps...so I want to make sure the right certificate gets revoked.


Both of my macs have them same certifcates installed in the keychain, one can code sign correctly the other cannot.

hmmm...I tried moving the other unused certificate to another keychain...so Xcode won't get confused. It seems I can only delete the item from my "local" keychain right after a system restart. Once Xcode starts doing its automatic stuff....it brute force re-downloads the unwanted certificate and installs it in my keychain..making the multiple codesigning problem reoccur.


Not sure how this extra developer id certificates got created...

Ended up removing my developer profile, going to my other mac and exporting it...then re-import it on the mac that was having the trouble...codesigning fine now. There still is the extra developer profile which can be confusing but i'll take what I can get.

Multiple Developer ID Application Certificates and Xcode Issues
 
 
Q