Remove Mac Apps

Remove Mac Apps

A Technical Site Providing Uninstall Tutorial For Mac OS X

Uninstall Tutorials

Mac Removal Guide: How to Uninstall Xcode on macOS

  • Catherine
  • Jan 03,2017
  • 5781

how-to-uninstall-xcode-on-macos

Whether you are a Mac novice or experienced user, you may come across problems when trying to uninstall some apps on your Mac. Today we would like to share a uninstall tutorial to help those people who need to get rid of Xcode. Read on if you want to uninstall Xcode on Mac.

Q1: what is Xcode & should I remove it?

Xcode is an integrated development environment (IDE) containing a suite of software development tools developed by Apple for developing software for macOS, iOS, WatchOS and tvOS.

First released in 2003, Xcode is pre-installed in Mac computers. It’s a necessary app if you intend to write apps for either OS, and installing it includes a number of other useful utilities other than the main IDE itself. The additional developer tools include Interface Builder, Quartz Composer, Dashcode, Python, Perl, ruby and so on. All those utilities occupy large disk space on your Mac. So if you are not a developer, you can totally uninstall Xcode and its dev tools from your system.

Q2: how can I uninstall Xcode totally on macOS?

Unlike the installation that only requires you to download and run the app from App Store, uninstalling Xcode is not that kind task that can easily complete. We will start with the standard uninstall procedure, and then go on with some additional steps.

To uninstall Xcode from the /Applications folder, follow the steps below. First (1) open Finder from the Dock, Navigate to the Applications folder, and locate Xcode application from there. Then (2) you can drag the icon to the Trash, or right click on it and choose Move to Trash option. Once Xcode is removed to the Trash, (3) right click on Trash icon on the Dock and choose Empty Trash.

Screen Shot 2017-08-11 at 2.36.37 PM

Note: if you install Xcode from Mac App Store, you can take the alternative method.

  • Open Launchpad, locate Xcode, then click and hold the icon with your mouse.
  • Once it starts to wiggle, click the X icon that appears on the left upper corner.
  • Click on Delete button in the pop-up dialog to perform the uninstall of Xcode.

uninstall Xcode from Mac App Store

The main part of Xcode has been deleted, but you still need to proceed with deleting the remaining parts. For the rest of Xcode files, here’s how to remove them manually.

  1. Head to the user home directory in Finder, click Go menu and choose Go to…
  2. Type ~/Library/Developer/ in the box and hit Enter key to open up this folder.
  3. Identify the items pertaining to Xcode and delete them to the Trash.

Screen Shot 2017-08-11 at 2.39.36 PM

Trashing those remnants and emptying the Trash will reclaim about 11GB of disk space for your Mac, and your system will no longer have Xcode. But the additional dev tools you installed before will not beaffected and remains on your Mac. You can locate and delete unwanted tools separately.

For the detailed instructions about deleting app leftovers, see here.

Q3: is there a better solution to remove Xcode?

Manually uninstalling Xcode requires much time and patience. If you wish to uninstall Xcode quickly, using an advanced uninstaller is a better option. How to do:

  • Run Osx Uninstaller, and then check the box Display system built-in Mac apps.
  • Click Display System Built-in Mac Apps box to list all the installed apps.
  • Select Xcode in the list of installed apps, and click on Run Analysis button.
  • Click on Complete Uninstall and hit Yes button to perform the uninstall.

2017-08-11_16-07-05

And that’s it. The whole removal process may take a few seconds to finish, and then the Xcode as well as its belonging items will be successfully removed from your Mac.

Q4: how to uninstall Dashcode (or other dev tools)?

To deal with the earlier versions of Xcode, you can clean its leftovers by utilizing the Terminal. Just launch Terminal and run the following command to execute the removal:
sudo /Developer/Library/uninstall-devtools –mode=all

Have you successfully removed Xcode to reclaim the disk space now?  Share your story with us.

Related Tutorials:

Completely Remove Xcode from Your Mac
Uninstall Xcode 9, Xcode 8, etc from Mac OS X

Leave your comments here:

Name
E-mail

Comments