xcode 从 Organizer -> Developer profile 移除/删除开发者身份

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6467628/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 21:20:30  来源:igfitidea点击:

Remove/delete developer identity from Organizer -> Developer profile

iphonexcodebuildxcode4

提问by esbenr

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:

我无意中将同事的开发人员身份导出并导入到 Xcode Organizer。选择 Developer Profile 列出了我和我的同事。这会导致警告:

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.

[BWARN]代码签名警告:代码签名身份“iPhone Developer”匹配多个身份:“iPhone Developer: [me]”、“iPhone Developer: [my colleague]” -- 将使用“iPhone Developer: [me]” .

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?

这也导致有两个相同的配置文件(我怀疑第二个属于我同事的开发人员身份)。因此,如果我删除配置文件和他的证书,我可能会摆脱他的开发人员身份。但是:我无法弄清楚哪个配置文件属于哪个开发人员身份,因为我在任何地方都看不到身份 ID。有人知道在哪里可以找到吗?

回答by Asish AP

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

转到钥匙串访问并删除多个身份文件。

回答by inzan

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:

在某些情况下,从 Keychain Access 中删除不需要的身份文件可能会奏效,但如果您打开了“自动设备配置”,则可能需要添加一个步骤。我发现即使我从 Keychain Access 中删除了身份文件,当我重新启动 XCode 时,不需要的证书也会重新出现在 Keychain Access 中。为了解决这个问题,我不得不:

  • 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.

  • 打开 XCode,选择“Provisioning Profiles”(在管理器中的 Library 下),然后点击底部的“Refresh”按钮(假设“Automatic Device Provisioning”被选中)。

  • 那时我使用我想要使用的开发人员凭据登录。

  • 然后我关闭了 XCode,从 Keychain Access 中删除了错误的配置文件,然后重新启动。

This solved the problem for me and my new default profile was the one that I wanted to use.

这为我解决了这个问题,我的新默认配置文件就是我想要使用的配置文件。

回答by puchikon

  1. open Get infowindow of your project.

  2. select Builttap.

  3. find Any iOSand change its value to specific developer profile.

  1. 打开Get info您的项目窗口。

  2. 选择Built水龙头。

  3. 查找Any iOS并将其值更改为特定的开发人员配置文件。

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

有一些已知的 x-code 错误与更改开发人员配置文件有关。

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

如果以上不能解决问题,请在此答案下方发表评论。

回答by puchikon

Me again.

又是我。

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

如果要删除特定的开发人员配置文件,请按照此操作。

  1. Open Organizer.

  2. Select Provisioning Profilesfrom left bar.

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

  1. 打开Organizer

  2. Provisioning Profiles从左侧栏中选择。

  3. 右键单击列出的配置文件之一,应该有Delete Profile下拉菜单。