2 signing identities confuse Xcode

Xcode suddenly stopped signing my iOS apps when I try to install them onto iPhone.

I have been using a paid developer account for one year, and had no trouble.

Previously I had a "free" developer account, and that has come back to haunt me.


On the date when my paid account automatically renewed (Feb 18), Xcode suddenly would not sign old apps.

To my surpise, if I created a new Xcode project ... builds and installs went fine .


Apparently, my paid account hung during renewal (for an hour or whatever) and Xcode found my free account signing identity and used that for new projects.

After I had installed about 5 apps, Xcode refused to install on iPhone and announced, "the maximum number of apps for free development has been reached."

I had not seen that message in over a year, since getting a paid dev account.

I see 2 signing identies in my keychain. They each have an different identifier id in parentheses.


It seemed wise to get back to 1 signing identity, so I tried to destroy the 'free' account signing identity.

=> At my request Apple staff manually killed off the "free" account at the Apple Developer site.

=> I deleted all private keys and certificates that match the free account id.


After I delete the unwanted keys/certificate in keyhain, Xcode wants me to "reset" my signing identity.

When I reset, the unwanted private key reappears in my keychain. I have no idea where Xcode is finding it.


I'm completely stuck, and Apple phone support is sympathetic but not effective so far.

Should I go "nuclear" and drag Xcode into the wastebasket? Then install a virgin Xcode?

Answered by glenn.douglas in 214158022

My question has been answered completely.


Recap:

I had two signing identities, and they became tangled up, confusing Xcode.

Untangling them was not easy.

Complete resolution obtained by (a) revoking my existing certificates, and (b) creating a new certificate.

I assume you used the same Apple ID when creating both the free and paid accounts?


I'm not asking about signing, identities, certs ....

2 signing identities confuse Xcode
 
 
Q