Uninstall Xcode for Lion?

I need to reinstall X-code for my computer so i am uninstalling it. I tried the magical "sudo /Developer/Library/uninstall-devtools --mode=all" command but to no evail. It says "sudo: /Developer/Library/uninstall-devtools: command not found" Please help!


Thanks in advance!

iMac (21.5-inch Mid 2011), Mac OS X (10.7.3)

Posted on Mar 6, 2012 3:49 PM

Reply
4 replies

May 17, 2012 12:21 PM in response to aguerrero810

Hi,


You used the command 'sudo: /Developer/Library/uninstall-devtools' but it is actually located in /Library/Developer/uninstall-devtools.


If you remove Xcode from the Launchpad all you do is to remove an icon. This is why AppStore does not let you re-install Xcode because it is still there.


Use /Lbrary/Developer/3.0/uninstall-devtools instead.


It's better to sudo sh and find the uninstall-devtools by yourself.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Uninstall Xcode for Lion?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.