xcode 如何删除我不再关联的团队?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11565129/
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-15 00:56:53  来源:igfitidea点击:

How to remove a team I'm no longer associated with?

xcodexcode-organizer

提问by MacsimusPrime

Used to be associated with "Foo", no longer am. "Foo" still shows up under Teams in the Organizer. I'd like for it not to.

曾经与“Foo”相关联,不再是 am。“Foo”仍然显示在组织者的团队下。我希望它不要。

回答by Yas T.

Xcode removes a team from Organizer only when there is no Certificate, Key, or Provisioning Profile associated with that team on your computer and iOS devices linked in Organizer.

仅当您的计算机和 iOS 设备中链接的 iOS 设备上没有与该团队关联的证书、密钥或配置文件时,Xcode 才会从 Organizer 中删除该团队。

So here is what you need to do to get rid of Keys, Login Keys, Certificates, and Provisioning Profiles from your computer.

因此,您需要执行以下操作才能从计算机中删除密钥、登录密钥、证书和配置文件。

  1. Open "Applications -> Keychain"
  2. Select "login" from the "Keychain" section (box 1 on top left side of the attached keychain image).
  3. Select "My Certificates" from Category section (box 2, just below keychain box in the keychain image).
  4. Right click and delete all Certificates associated with team from the right pane.
  5. Click on "Keys" under "My Certificates" and delete all keys associated with that team. Click on "All Items", again in the Category section and search for the team in the search box to filter and delete all items found associated with the team. You can use only a few characters or abbreviation of the team to locate and delete all associated entries.
  6. Click on "System" in the keychain section and search and delete entries associated with that team as described in the step 5.
  1. 打开“应用程序-> 钥匙串”
  2. 从“钥匙串”部分(所附钥匙串图像左上角的框 1)中选择“登录”。
  3. 从类别部分选择“我的证书”(框 2,就在钥匙串图像中的钥匙串框下方)。
  4. 右键单击并从右侧窗格中删除与团队关联的所有证书。
  5. 单击“我的证书”下的“密钥”并删除与该团队关联的所有密钥。单击“所有项目”,再次在“类别”部分并在搜索框中搜索团队以过滤和删除与团队相关联的所有项目。您只能使用团队的几个字符或缩写来定位和删除所有相关条目。
  6. 单击钥匙串部分中的“系统”,然后按照步骤 5 中的说明搜索并删除与该团队关联的条目。

KeychainKeychain DetailsQuit Xcode

钥匙链钥匙扣详情退出 Xcode

These steps are not necessary but highly recommended.

这些步骤不是必需的,但强烈推荐。

  1. Attach iOS devices to your computer you have linked in the organizer.
  2. Goto "Settings -> General -> Provisioning Profile" and delete profiles associated with the team you want to get rid of. (If no profiles are installed, the Provisioning Profile menu does not appear.)
  3. Perform step 1,2 for all connected devices.
  4. Right click on your Xcode icon in the dock and select Quit.
  5. Open your Xcode Organizer, the team should be gone from the list of teams.
  1. 将 iOS 设备连接到您在管理器中链接的计算机。
  2. 转到“设置 -> 常规 -> 配置文件”并删除与您要删除的团队关联的配置文件。(如果没有安装配置文件,则不会出现配置文件菜单。)
  3. 对所有连接的设备执行步骤 1,2。
  4. 右键单击 Dock 中的 Xcode 图标并选择退出。
  5. 打开你的 Xcode Organizer,团队应该从团队列表中消失了。

Now, if you still see that team hanging around, it simply means you might have a profile, key, or certificate associated with that team still left in the keychain or Xcode organizer under may a different name or abbreviation, so please perform above steps once again and make sure you have removed all Keys, Login Keys, Certificates, Provisioning Profiles associated with that team. Believe me this is all you need to do to get rid of teams from Xcode Organizer.

现在,如果您仍然看到该团队闲逛,这仅意味着您可能有一个与该团队关联的配置文件、密钥或证书仍然留在钥匙串或 Xcode 管理器中,可能有不同的名称或缩写,因此请执行上述步骤一次再次确保您已删除与该团队关联的所有密钥、登录密钥、证书、配置文件。相信我,这就是从 Xcode Organizer 中摆脱团队所需要做的一切。

NOTE: To make sure company does not show up again, you need to make sure to do one of the two options:

注意:为确保公司不再出现,您需要确保执行以下两个选项之一:

  1. Ask Team Agent of that team to remove you from their team on Apple Developer Portal.
  2. Login to App Store Connect (https://appstoreconnect.apple.com) with your own Apple ID. Make sure you are on the team you want to leave if you have multiple teams. Select the Personal Details from the top right corner drop-down menu. Click the "Leave Team" at the bottom.
  1. 在 Apple Developer Portal 上要求该团队的团队代理将您从他们的团队中删除。
  2. 使用您自己的 Apple ID登录 App Store Connect ( https://appstoreconnect.apple.com)。如果您有多个团队,请确保您在要离开的团队中。从右上角的下拉菜单中选择个人详细信息。点击底部的“离开团队”。

Otherwise once you refresh your Xcode profiles, the team is going to come back.

否则,一旦您刷新 Xcode 配置文件,团队就会回来。

回答by MacsimusPrime

You have to contact the someone at the previous company. I emailed Apple dev support and they can't do anything. Kind of makes sense.

你必须联系上一家公司的人。我给 Apple 开发支持发了电子邮件,但他们无能为力。有点意思。

回答by Giovanni

I was also bothered by that, and found the way to solve it. You have to clean up your keychain form all certificates and keys related to those previous teams. See this: http://carpeaqua.com/2012/10/12/how-to-remove-teams-from-xcode-s-organizer/

我也为此感到困扰,并找到了解决它的方法。您必须从与以前的团队相关的所有证书和密钥中清理您的钥匙串。看到这个:http: //carpeaqua.com/2012/10/12/how-to-remove-teams-from-xcode-s-organizer/