Reputation: 11
I just upgraded to Mountain Lion (from Snow Leopard) so as to take advantage of Xcode 4.
Before installing Xcode 4, I would like to remove Xcode 3 (not required, but want to clean up before moving on).
The standard method of removing Xcode 3 is:
$ sudo <Xcode>/Library/uninstall-devtools --mode=all
However, when I issue this command, even from within the /Library
folder, the only thing that happens is I get a "command not found"
after entering my password.
I can see uninstall-devtools
in Finder, so I know it's there. I just can't execute it for some reason. I've tried every possible way of running the uninstall tools.
Assistance is greatly appreciated. Thanks.
Upvotes: 1
Views: 905
Reputation: 354
Similarly to information I found in another SO article, my laptop's old XCode 3.2 didn't even have the uninstall-tools
utility.
So it worked fine for me to simply delete the XCode.app
folder.
Upvotes: 0
Reputation: 138101
If the file really is there, type sudo
in the terminal window (with a trailing space), drag and drop the uninstall-devtools
file on the window, then append --mode=all
. That should clear any chance you have to make a typo or any other mistake.
Upvotes: 1