如何从 Xcode 的 Organizer 中删除应用程序?

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

How can I remove apps from Organizer in Xcode?

xcode

提问by huync

If I log in to my iOS Developer account to Xcode, it autoloads all my applications to the Organizer window (Window -> Organizer). Now, when I log out from my account, my apps still persist in Organizer. How can I remove them?

如果我将我的 iOS 开发人员帐户登录到 Xcode,它会自动将我的所有应用程序加载到管理器窗口(窗口 -> 管理器)。现在,当我从我的帐户注销时,我的应用程序仍然保留在 Organizer 中。我怎样才能删除它们?

apps are still in Organizer

应用程序仍在管理器中

回答by Ahmad

Yes, you can delete all iOS Apps from Products.

是的,您可以从产品中删除所有 iOS 应用程序。

So, go to this path:

所以,走这条路:

~/Library/Developer/Xcode/Products

~/Library/Developer/Xcode/Products

and remove any apps.

并删除任何应用程序。

Be sure to remove any related archives in

一定要删除任何相关的档案

~/Library/Developer/Xcode/Archives

~/Library/Developer/Xcode/Archives

which are divided by date archived.

按存档日期划分。

If you have any difficulty to get the Library folder all you need to do is hit Command+Shift+G from the Mac desktop and type in ~/Library to temporarily access the Library directory in the Finder.

如果您在获取 Library 文件夹时遇到任何困难,您只需从 Mac 桌面点击 Command+Shift+G 并输入 ~/Library 以临时访问 Finder 中的 Library 目录。

回答by GeneCode

Just removing everything in ~/Library/Developer/Xcode/Productsis not really removing everything.

只是删除所有内容~/Library/Developer/Xcode/Products并不能真正删除所有内容。

When you open Organizer, it will load the app lists on the left panel. To remove the app lists on the left panel, goto:

当您打开管理器时,它将加载左侧面板上的应用程序列表。要删除左侧面板上的应用程序列表,请转到:

~/Library/Developer/Xcode/Archives

~/Library/Developer/Xcode/Archives

and remove everything in there too.

并删除那里的所有内容。

回答by Jeffrey Snijder

The apps will sync with all your connected accounts, so if you remove them in archives they will be returning soon (see the activity circle in the left bottom corner of orginizer when you open it again). You need to leave the team that is connected to these apps. This you can do by loggin in to your or your clients developers site online and choose the team in the list that will show in the right top corner under the account you have logged into. Select the regarding team that is connected to the apps you want to remove and go to membership in the bottom you will see button that says "Leave Team" (it is in red). If you them remove the apps from the archives they wil not return. You or your client needs to re-invite you to the team in order to return to an active state regarding this account you left.

这些应用程序将与您所有已连接的帐户同步,因此如果您将它们从档案中删除,它们将很快返回(当您再次打开它时,请参阅 orginizer 左下角的活动圆圈)。您需要离开连接到这些应用程序的团队。您可以通过在线登录您或您的客户的开发人员网站并在列表中选择团队,该团队将显示在您登录的帐户下的右上角。选择连接到您要删除的应用程序的相关团队,然后转到底部的成员资格,您将看到显示“离开团队”的按钮(红色)。如果您从档案中删除应用程序,他们将不会返回。您或您的客户需要重新邀请您加入团队,以便您离开的帐户恢复到活动状态。

Good luck!

祝你好运!

回答by rob mayoff

You're looking at the list of apps for which you've created archives. You can remove an app from the list by removing all of its archives. Click on an app to see its archives. For each archive, you have two choices:

您正在查看已为其创建存档的应用程序列表。您可以通过删除其所有存档来从列表中删除应用程序。单击应用程序以查看其档案。对于每个存档,您有两种选择:

  1. Click the archive, then press your delete key to delete the archive.

  2. Right-click the archive, choose “Show in Finder”, and drag it to a different location, outside of Xcode's Archives folder.

  1. 单击存档,然后按删除键删除存档。

  2. 右键单击存档,选择“在 Finder 中显示”,然后将其拖动到 Xcode 存档文件夹之外的其他位置。

Once you've deleted or moved all the archives, Xcode will remove the app from the list on the left.

删除或移动所有档案后,Xcode 将从左侧的列表中删除该应用程序。

回答by DuckDucking

There is no solution for this. The list in question is populated from your iTunesConnect account so, unless Apple allows us to delete spurious items from iTunesConnect all solutions on this page will be useless because the deleted files will come back as soon as you open the Organizer panel again.

对此没有解决方案。有问题的列表是从您的 iTunesConnect 帐户填充的,因此,除非 Apple 允许我们从 iTunesConnect 中删除虚假项目,否则此页面上的所有解决方案都将毫无用处,因为一旦您再次打开管理器面板,已删除的文件就会返回。

Come one Apple!

来一个苹果!

================

================

2 years after I answered this, I must update it to say that Apple will delete these spurious apps for you if you contact them directly using one of your technical incidents. It will take weeks and it is done by exception, on request and is not guaranteed they will delete. You have to cry and explain why you want that deleted.

在我回答这个问题 2 年后,我必须更新它说如果你使用你的技术事故直接联系他们,Apple 会为你删除这些虚假的应用程序。这将需要数周时间,并且是根据要求例外完成的,并且不保证他们会删除。你必须哭着解释你为什么要删除它。

回答by Oskar

Launch a Terminal and copy cd ~/Library/Developer/Xcode/Productsand lsto show all your products and then write rm -rf your.product.name

启动终端并复制 cd ~/Library/Developer/Xcode/Productsls显示您的所有产品,然后编写rm -rf your.product.name

回答by Ghulam Rasool

Enter these commands in the terminal

在终端中输入这些命令

cd ~/Library/Developer/Xcode/Archives
rm -rf *

and all the archives will be removed

并且所有档案都将被删除

回答by Nrv

Following steps will help you to remove recent builds and application too.

以下步骤也将帮助您删除最近的构建和应用程序。

  1. Xcode-> Preferences->Location
  2. Select derived data options
  3. From the folder, go to the previous folder, then you can find Products, Archives etc. Select and delete your required folders.
  1. Xcode-> 首选项-> 位置
  2. 选择派生数据选项
  3. 从文件夹中,转到上一个文件夹,然后您可以找到产品、档案等。选择并删除您需要的文件夹。

回答by Cheryl Tan

Found a method to permanently delete the apps from Organizer.

找到了一种从管理器中永久删除应用程序的方法。

Xcode7.3 Update For remove particular project's DeriveData you just need to follow the following steps:

Xcode7.3 更新要删除特定项目的 DeriveData,您只需按照以下步骤操作:

Go to Window -> Project -> choose the app you wish to delete.

转到窗口 -> 项目 -> 选择要删除的应用程序。

You may refer to this: Can I safely delete contents of Xcode Derived data folder?

您可以参考: 我可以安全地删除 Xcode Derived 数据文件夹的内容吗?

回答by Mihail Salari

~/Users/keyboarder/Library/Developer/Xcode/Archives

~/Users/keyboarder/Library/Developer/Xcode/Archives

Delete from "Archives", find in folders filtered by date, the project which you want to delete. After that it will be disappear from organizer.

从“档案”中删除,在按日期过滤的文件夹中找到要删除的项目。之后它将从组织者中消失。