Skip to main content

How To Uninstall Xcode From Mac App Store

Posted on August 29, 2011 by Anthony James Founder/CEOAnthony James Founder/CEO

I recently came across the need to uninstall xcode from my Mac OSX Lion. However, now that xcode is distributed through the app store and not the apple developer portal, it has become more difficult to do. Despite logic, you cannot go to the app store (currently) and uninstall the app. Follow allow below to see how we were able to quickly uninstall and reinstall our xcode.

Follow these two simple steps to uninstall xcode.
1.) Remove xcode from the system.
– Open up terminal, type the command below
sudo /Developer/Library/uninstall-devtools –mode=all

2.) Even though we removed xcode, if you open up the app store it still shows installed. Fix it by opening up "Applications" in finder then removing "Install xcode"
Open up mac app store and there you go!

Happy coding!


Image of Rican
9 years ago

Worked, thanks… It was taking a lot of space, and I didn’t needed it anymore.

Image of mrfr0g
9 years ago

Thanks for the App Store tip!

Image of Michael
9 years ago

Thanks! This was the key tip I needed to reinstall Xcode after uninstalling from the command line.

Image of Mike
9 years ago

Please help, this does not work for me:
I have an install of Xcode 4.1, I’m trying to down load 4.2.1 (I’ve been trying for 12 hours now).
I’m working on Mac 10.7.2
I have tried deleting Xcode with command line:
/Developer/Library/uninstall-devtools –mode=all
Ive also deleted ‘install xcode’ from applications.
Now when I go to appstore to download Xcode it lets me login, but does nothing! i.e won’t download Xcode, and the ‘install Xcode is not in applications’
I’ve search the forums for answers and found many but none work 🙂
Please Please help me. I red to test my app on my iPhone but the iPhone is at iOS 5 so I can’t test it until I upgrade Xcode!!!

Image of Philip
9 years ago

Same issue as Mike – any suggestions?

Image of Anthony James Founder/CEO
Anthony James Founder/CEO
9 years ago

I’m pretty sure to be able to download xcode from the app store you need to be a registered apple developer.
Once your apple ID is registered xcode download should appear.

Image of Allan
9 years ago

I’ve been having the same issue as Philip and Mike. I had XCode 3 installed, and I’ve had a developer account for years. I couldn’t install XCode 4, so I did the command-line uninstall, and for some reason, the App Store still thinks I have it installed. Now I have neither XCode 3 or 4.

Image of Allan
9 years ago

I found a solution!
Luckily, I had a second computer nearby, so I downloaded Xcode 4, and transferred the ‘Install’ over to my first computer that was having the problems. However, opening the installer would consistently crash, so I right clicked on the installer, went to ‘Show Package Contents’, Contents > Resources > xcode.mpkg
This installed Xcode 4.2.1
Worked for me, and I hope it helps someone else that is in the same situation as me.

Image of sam
8 years ago

The command line uninstall doesn’t work for me. “sudo: /Developer/Library/uninstall-devtools: command not found”
As far as I can tell Xcode (a folder with that name) is in Developer/Platforms/iPhoneSimulator.platform/Developer/Library . I have no interest in iPhone OS or anything else related to iPhone… I want to delete/uninstall all this so I can reinstall Xcode with the UNIX developer tools, in the correct place.
Any suggestions?

Image of H.Y
8 years ago

Thanks was able to uninstall my xcode 4.5 with this tips above …..

Leave a Reply

Your email address will not be published. Required fields are marked *