开发者

Remove/delete developer identity from Organizer -> Developer profile

开发者 https://www.devze.com 2023-03-14 23:38 出处:网络
I have, by accident, exported and imported my colleague\'s developer identity into Xcode Organizer. Selecting Developer Profile lists both me and my colleague.

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:

Ch开发者_如何学Goeck 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.


  1. open Get info window of your project.

  2. select Built tap.

  3. find Any iOS and change its value to specific developer profile.

There is some known x-code bug concerning with changing developer profiles.

If above doesn't fix the problem, leave a comment below this answer.


Me again.

If you want to delete a specific developer profile, follow this.

  1. Open Organizer.

  2. Select Provisioning Profiles from left bar.

  3. Right click on the one of listed profiles and there should be Delete Profile drop-down menu.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号