Uninstall Xcode From MacOS

Onexlab
2 min readJul 30, 2020

How to Uninstall Xcode Developer Tools on Macbook, Here’s a full guide on how to cleanup Xcode junk files, completely remove Xcode or clear all settings from MacOS

Sometimes we need to uninstall the older version of the Xcode and have to install the new version. It’s difficult to go one by one and remove the Xcode related files and directories

In this article, we have prepared a shell script that will help you to uninstall Xcode completely from your system.

We recommend you to read the full article the below files are just for the reference at the end of this article we have provided the Shell Script File for uninstalling the Xcode. What you need to do is just run single terminal command which we explain at the end of this article will help you to completely remove Xcode from your system.

For complete removal of Xcode delete the following:

  1. /Applications/Xcode.app
  2. ~/Library/Caches/com.apple.dt.Xcode
  3. ~/Library/Developer
  4. ~/Library/MobileDevice
  5. ~/Library/Preferences/com.apple.dt.Xcode.plist
  6. /Library/Preferences/com.apple.dt.Xcode.plist
  7. /System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
  8. /System/Library/Receipts/

--

--

Onexlab
Onexlab

Responses (2)