When I go to Xcode > Preferences > Accounts and then click on Manage Certificates for my selected Apple ID, I see my list of Signing Certificates. I tried to delete the certificate from the UI but the delete option is grayed out. I then found another Stack Overflow page that said to remove certificates from Keychain Access. I found it and removed it. However, when I go back to Xcode to the same place as before the Signing Certificate is still there and the option to delete it is still grayed out (see image below). I don't get it. Why is it so hard to just let me delete my certificate?
It's not enough to delete it from your keychain, the certificate is still present in Apple Developer Center at this point.
To remove it completely do the following:
If it's not gone after you have done this, it just means it's still present in your keychain locally, so just remove it from here as well and you should be good.
I finally deleted the Certificates in XCode.
Delete every item you think is related to certificates in Keychain Access > Keys. It will look like 'blank keys'
Back to XCode Preferences > Accounts > Manage Certificates you should see those unwanted certificates showing (x) marks.
Restart computer
To remove a certificate that appear as "Not in Keychain" in XCode, I have found the following works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With