Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Completely uninstalling both versions of Xcode

As usual I typed sudo Library/uninstall-devtools --mode=all

It uninstalled the first version (Beta) properly. Tried the same thing on the older Stable Version which I have installed to "Xcode Stable"

Getting this error Use of uninitialized value $dir_name in substitution (s///) at Library/uninstall-devtools line 153. Use of uninitialized value $developer_dir in concatenation (.) or string at Library/uninstall-devtools line 120

Anyone else facing this problem? Can I just trash the installation folder?

like image 397
Mugunth Avatar asked Jun 08 '10 02:06

Mugunth


1 Answers

I got that same error message this morning as well.

It doesn't seem to want to cooperate if run from the same folder it lives, /Developer/Library/; running it from another location, such as /, will allow the script to complete the uninstallation without further incident.

like image 57
lowell Avatar answered Oct 06 '22 02:10

lowell