How to (really) Remove Xcode from your Mac
If there ever came a time when you have to remove Xcode from your Mac for one reason or another, here’s the right way to do it.
Thank you for reading this post, don't forget to subscribe!
- Open the Applications folder in Finder.
- Locate the Xcode application and drag it to the Trash.
- Right-click on the Trash icon in the Dock and select Empty Trash.
- Delete DerivedData and other caches:
- Open Terminal (found in Applications > Utilities).
- Execute the following command to remove DerivedData:
rm -rf ~/Library/Developer/Xcode/DerivedData
- You can also explore other subfolders within
~/Library/Developer/and~/Library/Caches/for Xcode-related files and delete them cautiously, ensuring you only remove files clearly associated with Xcode. - Remove the Developer folder:
- Open Finder.
- Click on Go in the menu bar and select Go to Folder… (or press Shift + Command + G).
- Enter
~/Library/Developer/and click Go. - Delete the entire Developer folder if you are certain you do not need any other developer-related files within it. Be cautious, as this folder may contain files for other development tools.
About Post Author
Discover more from CompuScoop.com
Subscribe to get the latest posts sent to your email.

