See more...

How to Uninstall Xcode From Mac OS X Using Terminal App?

If you have problems saving space on your hard disk, you can uninstall Xcode from Mac. Most mac-users are ‘normal’ users, and not developers. That is exactly the reason why most of you have no need to have Xcode installed. Yes, it is true that you don’t notice it in daily use when it is part of your system, so basically no harm is done. The only problem is that it takes about 10 Gb of your hard disk. Ouch! That is a lot when you never use it.

Xcode is the developer software that gives developers everything they need to create those awesome applications for the Mac, the iPhone and the iPad. It includes the Xcode IDE, iOS Simulator, and all required tools and frameworks for building Mac OS X and iOS apps.

Xcode is delivered through the App Store, and not through the Apple Developer Portal as before, so it is more difficult to remove it and keep it removed. You can see in the following, simple, steps how to uninstall Xcode from Mac permanently to save disk space or to clear the path for a fresh installation.

Uninstall Xcode from Mac

Step 1

Open Finder and select ‘applications’, then ‘utilities’, and then the application ‘terminal’.

Uninstall Xcode From Mac

Step 2

Start the application ‘Terminal’. You will see a window like this one:

Uninstall Xcode From Mac

Notice that the application automatically logs in as administrator.

Step 3

Copy/Paste the following command:

sudo /Developer/Library/uninstall-devtools –mode=all

and press enter.

Uninstall Xcode From Mac

If the system asks your admin password, type it and press enter again. You can close Terminal after this.

Step 4

We removed Xcode now, but when you open the App Store, it is still showing that Xcode is installed. You can fix this by opening a finder-window again, select ‘applications’ and then removing the file ‘Install Xcode’.

That’s it! Easy ah?

After the uninstall Xcode from Mac, you can either re-install a fresh Xcode, or leave it like this save the 10Gb of disk space.

Contact Us for News Tips, Corrections and Feedback

Related posts

1 comment
Leave a message...

    Guest9 years, 6 months ago

    does it work for hackintosh? i cant seem to find ‘xcode’ from my lion build..