Oct 03 2008
How to Uninstall Xcode
A friend in San Francisco, Rodney Aiglstorfer, was recently jumping through hoops to get Xcode to cooperate with his iPhone. There’s nothing more aggravating than having your application running within the simulator and getting stuck downloading to a device.
At one point in the process he opted to remove the Xcode developer tools and start the configuration from the beginning. Which leads to the tip: should you ever find the need to remove Xcode, run the following from within a terminal window to make it happen:
sudo /Developer/Library/uninstall-devtools --mode=all
Easy enough, just make sure this is what you really intend to do as once it’s gone, it’s gone. Thanks for the tip Rodney.
Tips by RSS
Tips by Email


Thanks, this worked for me.
Thanks, my macbook got 2gb back :)
Thanks, too bad Mac can’t have help as simple as this listed on their support page or in the uninstall instructions that come with the software!
worked for me too, cheers..
Worked GREAT!
Worked, thank you.
Worked for me as well!
Brilliant. I was having trouble installing the latest iPhone SDK till I got rid of last Xcode install. Apple support said they were unable to replicate the issue!
Thanks! I actually got my hard drive down to 0KB free. (Actually, it says “Zero KB” at that point) Cleaning off Xcode was perfect, and couldn’t have been easier.
Well well, that was easy. Thanks so much!
the documentation, about removing xcode is in the Developer folder as pdf file. There you can find exactly this command line ;-)
mongole,
The command line can be accessed with the Terminal Application.
/Applications/Utilities/Terminal.app
thank you so much!!!!
hi Paul, i got problem installing SDK 3.0, keep saying file cannot mount, not recognized, can help?
Cool! It Works for me! THANK YOU VERY MUCH!!! U’re the best!
I have the same problem as jackson; after a 10-hour download, it’s now saying “the following disk images failed to mount”… I’m trying to install XCode 3.1.2. Suggestions?
Thanks…
Worked like a charm.
Thanks mate, it was very helpful.
Worked great. Thanks a ton. That’s 2 GB I’m happy to have back.
Thanks! A really good tip!
Thanks =) I need to get rid of Xcode in order to install iPhone Dev (that also includes xcode)
For me with XCode from Mac OS X 10.4 CD pack, this is the one to call:
sudo /Developer/Tools/uninstall-devtools.pl –mode-all
IMPORTANT: If you are going to install a previous version of the
Developer Tools, be sure to restart the machine after installing.
Worked great!!! Thanks
Awesome – thanks!