I have, by accident, exported and imported my colleague's developer identity into Xcode Organizer. Selecting Developer Profile lists both me and my colleague. This results in an warning:
Check dependencies
[BWARN]Code Sign warning: code-signing identity 'iPhone Developer' matches multiple identities : 'iPhone Developer: [me]', 'iPhone Developer: [my colleague]' -- 'iPhone Developer: [me]' will be used.
How can I remove or delete his identity from the project/organizer? There is no control+click.
This has also caused that there are two identical provisioning profiles (I suspect the 2nd belongs to my colleague's developer identity). So if I remove the provisioning profile and his certificate, I might get rid of his developer identity. BUT: I can't figure out which provisioning profile belongs to which developer identity, since I can't see the identity-id anywhere. Anybody know where to find that?
Go to the KEychain Access and delete the multiple identities file.
Deleting the unwanted identity files from Keychain Access may work in some cases, but if you have "Automatic Device Provisioning" turned on, you may need to add a step. I found that even when I deleted the identity files from Keychain Access, when I restarted XCode, the unwanted certificate would show up back in Keychain Access. To fix this, I had to:
Open XCode, select "Provisioning Profiles" (under Library in the Organizer), and then hit the "Refresh" button at the bottom (assuming "Automatic Device Provisioning" is checked).
At that point I logged in with the developer credentials I wanted to use.
I then closed XCode, deleted the bad profile from Keychain Access, and restarted.
This solved the problem for me and my new default profile was the one that I wanted to use.
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