Uninstall XCode on MacBook Pro, Air, iMac: Here’s Full Guide

Last Updated on Jul 13, 2021

Xcode is an Apple-developed developed code Editor for iOS and macOS Application development tools. The Xcode tool is the #1 code editor, user interface constructor, iPhone Simulator, Quartz Composer, Dashcode, GCC, DTrace, Perl, Python (Integrated development environment- IDE). Still, it can take up considerable space on Mac hard disk. Along with this, Xcode also generates several temporary cache files, and it would rise time over time until your Mac becomes unresponsive and related Space issue.

Before you get the blank white screen on Mac, then you should prevent your Apple computer from the waste of Storage Space.

By the way, you must clean the Xcode cache by completely removing old cache files from your Mac, and after this, you can put a fresh Xcode. Unfortunately, according to my own experience, it won’t remove all the cache junk files without uninstalling Xcode.

So here I’ll show your New version of Xcode, and the older version Xcode uninstall method also covered. Keep in mind that, Removing Xcode doesn’t just move the Xcode icon to the trash. This way doesn’t uninstall the Xcode program completely, only Xcode Part wipe. So Xcode Caches, supporting files, your old builds, and much more will stay on your Mac drive in multiple directories and libraries.

However, don’t worry, our essential reader; our expert’s simple instructions will help you remove Xcode from your Mac in a safe manner altogether.

There are different ways to delete the Xcode from the Mac. But, first, we will see how we can remove Xcode manually.

Completely Uninstall Xcode from Mac and Clear All Settings

Uninstall Xcode on macOS
  • Step #1: Go to the “Applications” folder. You can use Spotlight to open the Application folder quickly.
  • Step #2: Now locate the“Xcode” and drag it to the “Trash.”
  • Step #3: Lastly, clear out the Trash folder too.

Once you have deleted the Xbox icon to the Trash, so it is the central part you have cleared. Now we will clean some of its files.

NOTE: If you have some projects or essential data stored in Xcode related to the user developer, then don’t delete it; otherwise, you will lose the data. Alternatively, take backup and then remove it.

  1. Step #1: Launch “Finder.”
  2. Step #2: Click on the “Go” menu and then open “Go to folder.”
  3. Step #3: Enter the following path,
  4. ~/Library/Developer/
  5. Step #4: Search for the “Developer” folder and remove it.

The older version of Xcode, like 7 or 8, doesn’t delete entire Xcode-related files and data if you prefer the above steps. So you have to take the help of the terminal to remove it.


Guide to Uninstall Xcode using Terminal Command line

  1. Step #1: Launch“Terminal.”
  2. Step #2: Run the following command,
  3. sudo /Developer/Library/uninstall-devtools –mode=all
  4. Step #3: Enter the Admin password.
  5. Step #4: The Mac will take a few moments to complete the process.
  6. Step #5: Quit “Terminal.”

After all these methods to get rid of Xcode application in macOS, there is one more thing that needs to be removed: Caches of Xcode.

  1. Step #1: Open“Finder” and click on the “Go” menu.
  2. Step #2: There you will find“Go to a folder,” click on it.
  3. Step #3: Enter the path,
  4. ~/Library/Caches/com.apple.dt.Xcode
  5. Now after this directory opens, if you find any files or data then delete it immediately.

Do you find any error (can’t uninstall Xcode on mac) or related issues during Xcode Un-installation? Please quickly send a comment in the box.

we are happy to help you, submit this Form, if your solution is not covered in this article.

HowtoiSolve Staff

Jaysukh Patel is the founder of howtoisolve. Also self Professional Developer, Techno lover mainly for iPhone, iPad, iPod Touch and iOS, Jaysukh is one of responsible person in his family. Contact On: jaysukh.pharma@gmail.com [OR] admin@howtoisolve.com

We will be happy to hear your thoughts

Leave a reply

HOWTOISOLVE
Logo