If you want to remove Xcode from your Mac, you should know that its uninstallation differs from simple application removal. This is extremely important if you want to reinstall Xcode, the remaining service files of the app might block you. In this article, we will share the correct way to delete Xcode completely from Mac.
Contents:
- What is Xcode?
- How to uninstall Xcode on Mac manually.
- How to remove Xcode using App Cleaner & Uninstaller.
What is XCode and why uninstall it?
The Xcode package is a native development tool for Mac and iOS operating systems. It includes a number of useful utilities that are required for application development processes.
Using Xcode for an extended period of time creates gigabytes of cached data. The most unpleasant thing about it is that even after work completion, caches still eat up a significant amount of disk space. This is the reason why you can’t delete the app just by dragging it into the Trash. You have to find and remove its support files as well. Below, we will provide a guide on how to completely uninstall Xcode.
How to uninstall Xcode on Mac manually
Removal of Xcode v4.3 and upper versions is much easier than for earlier versions. However, don’t worry, we will show you the uninstalling steps for all the versions.
Steps on how to remove Xcode 3
- Launch a default Apple application Terminal.
- Type the next command and press Enter:
sudo /Developer/Library/uninstall-devtools –mode=all - Enter your user password. Xcode 3 will be successfully uninstalled from your Mac.
Steps on how to Uninstall Xcode 4
- Go to the Applications folder and remove Xcode into the Trash.
- Find and remove Xcode’s service files. They are stored in the hidden ~Library folder. For this, in Finder press Command+Shift+G and type ~/Library in the “Go to the Folder” search field.
- Press Enter.
-
Check the next subfolders, which may keep Xcode’s bundle ID com.apple.dt.Xcode:
- ~/Library/Application Scripts/
- ~/Library/Preferences/
- ~/Library/Containers/
- ~/Library/Developer/
- ~/Library/Saved Application State/
*Please, be careful with the Library folder. Do not delete any important files other than Xcode files. Empty the Trash. - Once you remove all junk files related with Xcode, empty your Trash bin.
How to Remove Xcode with uninstaller software
Instead of wasting time browsing in the Library folder to find Xcode’s remaining files, you can use the second method of uninstalling Xcode on Mac. You can completely and safely uninstall Xcode in just a few clicks with the help of a special utility called App Cleaner & Uninstaller Pro. This application automatically finds support files of each app on Mac, allows you to find leftovers of already deleted apps, and even manage startup programs and extensions on Mac.
Steps on how to completely uninstall any version of Xcode from Mac:
- Open App Cleaner & Uninstaller. It will scan the programs installed on your Mac.
- Select Xcode in the list of apps.
- Click to remove Xcode and confirm the action.
If you have already uninstalled Xcode manually, check your Mac for its leftovers. Just switch to the Remaining Files tab and remove already unneeded Xcode’s support files from your Mac.
App Cleaner & Uninstaller provides a free trial. You can download it right now and completely remove Xcode from your Mac.
- Removal of the Xcode version 3 and of version 4 using Terminal differs each from another.
- For the complete removal of Xcode, it is important to find and remove all of its support files from your Mac as well.
- By default, the support files of Xcode v. 4 should be stored in the Library folder. However, we recommend that you use special tools like App Cleaner & Uninstaller or Funter from Nektony to check the Mac for its remaining files.
Frequently asked questions about Xcode
Do I need Xcode on my Mac?
Xcode is an application for software engineers that allows them to develop applications for operating systems from Apple. If you are not a software developer, go ahead and remove Xcode.
What is Xcode used for on Mac?
Xcode is an application from Apple for developers used to develop applications for macOS, iOS, iPadOS, watchOS, and tvOS.
Is Xcode free on Mac?
Yes. Xcode is available for free on the Mac App Store.
How many GB is Xcode?
The latest version of Xcode takes up 11.6 GB. The reason why it takes up that much space is that it contains many other large and complex tools and tons of data about every supported Apple OS.
How do I get Xcode on my Mac?
You can download Xcode from the Mac App Store or from trusted download archives. However, the safest way is to use the App Store version of Xcode.