Ways To Uninstall XCode On Mac OS _Guide

 Uninstall XCode

So, here are the complete guidelines about how to Uninstall XCode on Mac Pc. There are some of the new simple instructions for uninstalling. You can also uninstall the modern versions of XCode. To Delete the old version of XCode that is also covered. Also, this is a guide through which you can also uninstall XCode from any Mac. This is also regardless of version and Mac OS X release.

Also See: Mac App Stuck On Verifying: To Fix Installer .pkg Stuck

What is XCode?

The Xcode is Apple’s developer suite for iOS and Mac OS X. This is necessary if you are intending to write the apps for either OS and installing. Also, it includes several other useful utilities other than the main IDE itself. Now, the additional aspects also include things that are just like the Interface Builder. The iPhone Simulator, Quartz Composer, Dashcode, GCC, dtrace, Perl, python, ruby, and much more. So, this also uses beyond core iOS and Mac OS X development. You can also add valuable utilities to tweakers and administrators’ toolkits.

Also, Installing the XCode that is just a matter of downloading it from the Mac App Store. In case of what if you want to remove XCode? Ways to delete XCode so also depend on what version that you are trying to remove from the Mac. Now, we will also cover removing the newer versions of XCode first. After that, cover deleting the older versions of the app as well.

Ways to uninstall XCode manually?

In case, if you want to get your hands dirty then you have come to the right place. This is before you start then please note the following:

You can Manually remove the file that comes with some of the risks. In case, if you don’t follow the instructions carefully then you could experience unintended consequences. Now, we also assume no responsibility for what may occur from a manual app removal. In case, if you are up for the challenge then please carry on. Also, if you would prefer the safer methods then go ahead and skip this section.

Also See: How to Know if you’ve been Blocked on iPhone Text


Here we have cleared this up, here’s how to get XCode off your Mac by hand:

  • First of all, you have to open the Application folder.
  • Then Drag the XCode icon to the Trash.
  • After that, Clean out the Trash bin

So, this will also delete the main part of the app. After that, the rest of the XCode files.

  • You have to open the Finder apps.
  • This is available at the top of the menu, then choose the Go.
  • Now, Go to the Folder.
  • Tap on the ~/Library/Developer/
  • You have to Find the Developer folder.
  • Then Delete it.

Earlier Version:

In case, if you had earlier versions of XCode, that is just like 7 or 8. Then you can leave the footprints all over the place. You have to remove these remnants of old XCode iterations follow these steps:

  • You have to open the Terminal.
  • Then Run the: sudo /Developer/Library/uninstall-devtools –mode=all
  • After that, confirm your admin password.
  • Now, Wait until the scripts are done running.
  • Then Quit the Terminal.

So, the only thing that is left and get rid of XCode application caches. Most of the versions of the app are that they are left even after the purging. You can also visit this directory to make sure that you have no files stored there.


In case, if you find any files, then clean up the folder. When all traces of XCode have been removed. Then reinstall the app and you should also enjoy a much faster experience. Now, you will also have more space on your hard disk to play with.

To Uninstall XCode 10, XCode 9, XCode 8, etc from Mac OS X:

You can also uninstall the newer versions of XCode that is much like deleting any other app from the Mac:

You can also navigate to the /Applications/ folder and then locate the “XCode” applications.
Then drag the “XCode” to the Trash and then empty the trash. Now, as usual by right-clicking on the Trash icon and then by choosing the ‘Empty Trash’.

In the next step, you will probably want to delete the user Developer tools folder. You have to found at the following location. Then note this it also includes the user developer data. Also, you don’t do this if you have projects and other data in XCode. So, that you haven’t backed up elsewhere or you otherwise care about.

 Uninstall XCode

Also, the directory is ~/Library/Developer/ then the user folder should contain “XCode” and “CoreSimulator” folders.


  • First of all, you have to open the user home directory and then go to Library.
  • You have to visit the “Developer” folder and then delete it.

Also, you can Trash these folders that are along with the application. This should also restore about 11GB of disk space from the Mac and OS X. It will no longer have XCode. In case, if you’ve installed command line tools separately. So, this should not be impacted by deleting the XCode itself.

The Update:

So, our readers also point out that XCode 4.3 simplifies this process. Now, this is considered the bundling XCode into a single application. Then this guide is most relevant to older versions. The XCode 4.3 and also the later versions should be able to uninstall like any other Mac app. So, the older versions of XCode also require the manual process outlined below.

Also See: Constant Apple ID Verification Password Pop-Ups on iPhone & iPad

How To Completely Uninstall XCode from Mac OS X?

You have to note that uninstalling XCode is different for earlier releases of the app. By the directions below are still valid for all earlier versions of XCode. Although, if you will find doing so this is not the same as uninstalling general Mac apps or even ditching the default apps. The reason is that the XCode is a much larger footprint. You have to uninstall XCode that you will need to venture into the command line. So, this will also remove everything about XCode from a Mac:

  • You have to Launch the Terminal that is found in /Applications/Utilities/ and then type the following:
    sudo /Developer/Library/uninstall-devtools –mode=all
  • After that, confirm the admin password (required for sudo) and then let the scripts run.

Remember: Don’t Forget to Delete the Install XCode Application
In case, if you uninstall XCode then the original Install XCode application. So, this is probably still sitting in your /Applications/ folder. This will also download from the Mac App Store. You don’t need to forget to delete this too otherwise you are wasting 1.8GB of disk space.

Also Read: iPhone Home Screen Rotate: How To Fix If Not Rotating

Reasons To Uninstall XCode?

In case, if you don’t use the XCode that is accompanying the utilities. This is also a good idea to uninstall the suite. The reason is that this is simply because XCode also takes up a lot of disk space. Normally, a minimum of 7GB of disk space is also consumed by the installation. Also, the installer application that is alone is another 1.8GB. This also takes a lot of storage capacity taken up by something that is potentially getting no use.

 Uninstall XCode

After that, we have covered the basic process of uninstalling everything to do with Xcode. That is why some of the people would also get benefit from doing this. Now, we will also dive into some more specific information. There are some of the other uninstall options that could be useful to some users.

Uninstallation commands:

The very first, and the above uninstallation command with -mode=all. So, this is actually just running three separate scripts by making the uninstallation process easier. This is for those who are curious those separate scripts are:


Now, These scripts do not need to be run independently. However, you could also choose to do so if you wanted to then more on that below. In case, if you want to selectively uninstall parts of XCode rather than everything then use the commands below. Now, these are also not necessary if you run the above –mode=all command.

Also See: “Software Update Failed” Fix the Error Downloading iOS 9

The Uninstallation by Unix Development Toolkit:

In case, if you only want to remove the command line side of things. Then you can also do that with this command:

sudo /Developer/Library/uninstall-devtools --mode=unixdev

So, This is actually linked to the aforementioned “/Library/Developer/Shared/uninstall-devtools” script. Individually, I also think that the Unix toolkit is also one of the most useful aspects of installing XCode. Now, I’m not sure that why you would want to do this also it is nice to know you can.

To Uninstalling the Developer Folder and Contents Only:

So, this will also keep other aspects of XCode intact. This will also remove everything within the /Developer directory:

sudo /Developer/Library/uninstall-devtools --mode=xcodedir

Now, The command is basically having a shortcut to the previously mentioned “/Developer/Library/uninstall-developer-folder” script. In case, if you want to ditch the /Developer directory. Then run this command rather than manually deleting it through the Finder.

Also See: Update Apps On iOS 13.1 _How To Update?

To Uninstalling the System Support:

The Selectively uninstall XCode’s system support only (not recommended):

sudo /Developer/Library/uninstall-devtools –mode=systemsupport

So, these commands just run the following scripts: “/Library/Developer/Shared/uninstall-devtools” and also the  “/Library/Developer/4.1/uninstall-devtools”

Also See: How To Fix “iPhone Is Synced With Another iTunes” Erase It?

To Uninstall XCode data files locations:

So, the full set of XCode also relates to the data if you may want to backup or delete it. In case, if you are uninstalling the XCode from a Mac that are also having the following locations and files:


So, You can manually delete those files as well. Then if you also care about preserving your environment you can also consider backing up the data. This is before manually removing XCode apps, files, and components.

Also See: Way to Clean Install OS X Yosemite _ Guide Tutorial


You can also uninstall the modern versions of XCode. To Delete the old version of XCode that is also covered. Now, the additional aspects also include things that are just like the Interface Builder. The iPhone Simulator, Quartz Composer, Dashcode, GCC, dtrace, Perl, python, ruby, and much more. So, this also uses beyond core iOS and Mac OS X development. You can also add valuable utilities to tweakers and administrators’ toolkits.

Now, just about wraps it up. Also, maybe able to accomplish some of these tasks that are within the removal utility like App Cleaner as well. This is for the best results that it is also a good idea to stick with the solution bundled with XCode itself.

Leave a Reply

Your email address will not be published.