2 Ways to Completely Uninstall Xcode from Mac

Is Xcode taking up a lot of space and you want to uninstall it from your Mac? Here’s how to remove it completely.

Xcode is a powerful tool for developing apps for Mac devices. A big disadvantage of this program is that it takes up a lot of disk space. If you’re having problems with it or you don’t need it, it’s best to cleanly remove it from your Mac.

Not sure how to uninstall Xcode cleanly? Read on for more steps.

2 Ways to Completely Uninstall Xcode from Mac

How to manually uninstall Xcode

Manually removing Xcode from a Mac is dangerous and complicated. If you still want to do it yourself, follow these steps:

  1. Exit Xcode.

  2. Open Finder > Applications, select Xcode and move it to the trash.

    Manually uninstall Xcode from the Mac using the Finder

  3. Click the Go menu in the Finder and choose Go To Folder.

  4. Paste the following paths one by one into the search box and click Return.

    • ~/Library/Developer
    • ~/Library/Application Support/Xcode
    • ~/Library/Caches/com.apple.dt.Xcode
    • ~/Library/Preferences/com.apple.dt.Xcode.plist
    • /Library/Preferences/com.apple.dt.Xcode.plist
    • /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
    • /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
    • /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
    • /System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
    Delete files related to Xcode on Mac
  5. Move the opened file or folder to the trash.

  6. Empty your trash.

Previous versions of Xcode, such as 7 and 8, left the files in different folders. To clear them all, use Terminal.

Here:

  1. Open Terminal using Finder or Spotlight.
  2. Run the command: sudo /Developer/Library/uninstall-devtools --mode=all.
  3. Enter your admin password.
  4. Wait for the scripts to run and exit Terminal.
Remove leftover Xcode from Mac with Terminal

How to quickly uninstall Xcode with BuhoCleaner

A faster and easier way to remove Xcode from your Mac is with BuhoCleaner, an excellent tool for removing unwanted apps from your Mac.

With BuhoCleaner, you can remove Xcode and its supporting files with one click, so you can have more free space to play games and download movies.

Here are the steps:

  1. Download, install and launch BuhoCleaner.
  2. To see the apps installed on your Mac, click Uninstall an app.
  3. Find Xcode, select it, and click Uninstall. That’s it!
Quickly uninstall Xcode from Mac with BuhoCleaner

Last words

Have you successfully uninstalled Xcode from your Mac? Which way did you use?

Note that BuhoCleaner is more than an app uninstaller. It also includes functions such as cleaning caches and logs, removing large and duplicate files, managing startup programs, analyzing disk space, and more. It’s really worth a try.

Leave a Comment