Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: Delete applications in Organizer/Archives?

I've been getting the "there was internal api error" message in Xcode and I've finally figured out what the problem was. Apps run with the same bundle identifier will result in this error.

Turns out that the apps aren't being deleted in Organizer. When I delete them, they disappear. But when I quit Xcode, reopen, enter organizer, the applications are still there.

Are these Applications stored in Xcode or on my iDevice? Can I go in and manually remove them? What directory?

Has anyone had this problem? Solutions?

like image 435
CokePokes Avatar asked Oct 28 '11 08:10

CokePokes


People also ask

How do you delete archived apps?

To delete an archived process application, click the Archived filter in the Process Apps tab. Then, select Delete beside the process application that you want to delete.

How do I remove an app from Xcode?

Click Applications, and then scroll down to the list of authorized apps and revoke the authorization for the Xcode Cloud app. Self-managed GitLab Instance. Sign into your account for your self-managed GitLab instance and go to your account settings. Choose Applications and then delete the app for Xcode Cloud.

Can we delete project archives?

To delete these archive data in Xcode, select Window > Organizer > Archives from top menu. Then press delete to remove them. App archives can take up significant space if your app is large in size, a rough calculation would be taking your app size and multiply it by the number of time you have archived.


3 Answers

In Xcode 4 you can delete an archived application manually. Right click on it, Show in Finder, remove it as any other folder. Xcode will detect the deletion and update the list of archived apps.

Archives are just bundles with .xcarchive extension under ${HOME}/Library/Developer/Xcode/Archives. They are organized in folders by date (like 2011-11-11). You can look inside using Show Package Contents menu item, like any other bundle.

like image 61
djromero Avatar answered Sep 28 '22 10:09

djromero


XCode 8

You need to clear out this folder. It is where Xcode app archives are stored.

${HOME}/Library/Developer/Xcode/Archives

It will also save space on your hard drive. I found that I had upwards of 200 GB of app archives lol.

like image 23
quemeful Avatar answered Sep 28 '22 10:09

quemeful


  1. Open Terminal, then goto this folder: cd ~/Library/Developer/Xcode/Archives

  2. Perform delete all folders and files: rm -rf *

You may need root permission to perform delete.

like image 27
Sujewan Avatar answered Sep 28 '22 11:09

Sujewan