Xcode – Uninstalling Xcode 3.2.6 from Lion 10.7.2

macososx-lionuninstallationxcode

I've installed xCode 3.2.6 on my Lion 10.7.2.

After install I can't find the xCode icon to launch it. I've got to know 3.2.6 doesn't support Lion.

However, the worst thing happen when I tried to uninstall it with

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

Unfortunately uninstall-devtools wasn't there. I'm stuck middle of nowhere.

Does anybody have any idea how to uninstall it and install xCode 4.2?

Best Answer

Following command fire on terminal and remove the all files and folder of xcode

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

also more information and show log of the uninstal so go refrence link here