Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall Xcode 4 when it was installed via the App Store

I understand that those who installed Xcode 4 via the developer site are able to uninstall via /Developer/Library/uninstall-devtools –mode=all, however I installed via the App store and there doesn't seem to be an executable with the word "uninstall" in the name anywhere in the Developer folder at all. Any suggestions on how I should go about uninstalling Xcode 4?

like image 224
Mike Lawrence Avatar asked Mar 17 '11 19:03

Mike Lawrence


People also ask

How do I completely remove Xcode from my Mac?

The first step to uninstalling Xcode from your Mac (and deleting its residual files) is to move the app itself to the macOS Bin. Launch Finder and click Applications on the right sidebar. Right-click on the Xcode icon and select Move to Bin on the context menu. That will immediately uninstall Xcode from your Mac.

What happens if you uninstall Xcode on Mac?

If you uninstall Xcode, the original Install Xcode application is probably still sitting in your /Applications/ folder as downloaded from the Mac App Store, don't forget to delete this too otherwise you are wasting 1.8GB of disk space.

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.


2 Answers

This help for Xcode before MAS install /Library/Developer/Shared/uninstall-devtools

If you install it from MAS you can remove from launchpad, but also need to remove some folders** and files created by this app, you can use some helper application that found this files and safely remove it :)

** ex.: ~/Library/Developer, ~/Library/Application Support/Xcode, ~/Library/iPhone Simulator, Logs and etc.

like image 82
iTux Avatar answered Oct 22 '22 00:10

iTux


From the above comment, the correct way is to:

  1. Run sudo /Developer/Library/uninstall-devtools –mode=all
  2. Delete "/Applications/Install Xcode" if you want the app store to allow you to reinstall it.
like image 35
Christer Nordvik Avatar answered Oct 21 '22 22:10

Christer Nordvik