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, and Python (Integrated development environment- IDE). Still, it can take up considerable space on a 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 to Mac storage space issues.
Before you get the blank white screen on your Mac, you should prevent your Apple computer from wasting 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 is also covered. Remember 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, old builds, and 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 safely remove Xcode from your Mac.
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
- Press Command + Spacebar to access Spotlight search on macOS.
- Enter the “Applications” folder to find the Application folder quickly.
- Now locate the“Xcode” and drag it to the “Trash.”
- 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.
- Launch “Finder.”
- Click on the “Go” menu
- Now open “Go to folder.”
- Enter the following path,
- 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
- Run the following command,
sudo /Developer/Library/uninstall-devtools –mode=all
- Enter the Admin password.
- The Mac will take a few moments to complete the process.
- Quit “Terminal.”
After all these methods to get rid of the Xcode application in macOS, one more thing needs to be removed: Caches of Xcode.
- Open“Finder” and click on the “Go” menu.
- There, you will find“Go to a folder,” click on it.
- Enter the path,
- 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.