Skip to content

Instantly share code, notes, and snippets.

@Norod
Last active December 16, 2022 10:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Norod/e42c4cf934411f486e0c1236691880bd to your computer and use it in GitHub Desktop.
Save Norod/e42c4cf934411f486e0c1236691880bd to your computer and use it in GitHub Desktop.
How to completely remove Xcode 10
# How to completely remove Xcode 10
# Info taken from this thread: https://forums.developer.apple.com/thread/110227
# Keywords:
# Uninstall, Remove, Wipe, Delete, Xcode, Xcode 10
# Assuming everythig is installed in the default path
sudo rm -rf /Applications/Xcode.app
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Developer
rm -rf ~/Library/MobileDevice
rm ~/Library/Preferences/com.apple.dt.Xcode.plist
sudo rm /Library/Preferences/com.apple.dt.Xcode.plist
sudo rm -rf /Library/Developer
# The following step is better run with csrutil set to disabled, (system interegrity protection or SIP off)
sudo rm /System/Library/Receipts/com.apple.pkg.Xcode*
#Reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment