4 Replies Latest reply: May 17, 2012 12:21 PM by Robert McCall
aguerrero810 Level 1 (0 points)

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)
  • Maurizio Zilli Level 2 (180 points)

    In new Xcode 4 and Lion You can install and uninstall from Preferences : downloads : components

     

    If You want to uninstall completely XCode go to launchpad and push Xcode icon for two seconds, so click on the upper left checkbox.

  • Mark Szymczyk Level 4 (1,985 points)

    Xcode 4.3 has no uninstall script. In Xcode 4.3 move Xcode to the Trash to uninstall it.

  • paddy carroll Level 1 (0 points)

    But if you need to reinstall it the App Store thinks you still have it!!!

    How do you tell the App Sore it's not there?

  • Robert McCall Level 1 (0 points)

    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.