Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove/delete developer identity from Organizer -> Developer profile

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?

like image 526
esbenr Avatar asked Dec 04 '22 08:12

esbenr


2 Answers

Go to the KEychain Access and delete the multiple identities file.

like image 177
Asish AP Avatar answered Dec 24 '22 10:12

Asish AP


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.

like image 27
inzan Avatar answered Dec 24 '22 10:12

inzan