I am a member of a development team that recently renewed our Apple Development certificate. The admin on our team created the certificate, and I downloaded the .p12 file to my Mac and was able to open it in Keychain. But when I try to update my certificates in Xcode > Preferences > Accounts > Manage Certificates > + > Apple Development, it shows the message,
There is a problem with the request entity.
You already have a current Development certificate or a pending certificate request.
In the Manage Certificates window, there are 2 Apple Development certificates shown. They are both named [MyName]'s Mac mini, and they are both greyed out. The Creator is listed as my account, and the Status is listed as "Not in Keychain". If I right-click on the certificates, they only have the option to Email Creator.
The admin confirmed that there is no certificate called [MyName]'s Mac mini on the apple developer website. My account does not have access to the certificates section, so I can't check whether there is one associated with my account.
I have already tried the following
Sign out of Accounts in Xcode, quit Xcode, and then sign back in
Delete the certificate and re-import it to Keychain
Restart computer
I am using Xcode 13.3 and macOS Monterey Version 12.3.1
As a result, I am unable to build our project to a physical device. How do I remove/update the current Development certificate so that I can add the latest certificate to my Mac?