Re: Proper way to uninstall Xcode 3
Re: Proper way to uninstall Xcode 3
- Subject: Re: Proper way to uninstall Xcode 3
- From: Fritz Anderson <email@hidden>
- Date: Tue, 07 Aug 2012 10:12:23 -0500
On 7 Aug 2012, at 6:57 AM, John Tsombakos <email@hidden> wrote:
> I want to finally clear out Xcode 3 from my system (newly upgraded to
> Mountain Lion and Xcode 4.4). I have found the commands to remove the
> /Developer-old version, but I see some conflicting items. In the
> /Developer-old/Library/ folder there is a 'uninstall-devtools' command
> and a 'uninstall-developer-folder' command. Which is the correct one
> to run to remove 3? I did search and found advice to run the command
> 'sudo /Developer-old/Library/uninstall-devtools --mode=all', but
> people have also reported that it broke 4 (removing commands that 4
> needed, ie. make)
>
> So, what is the official, safe way to delete Xcode 3? (and what's the
> difference in commands)
Use uninstall-devtools (with sudo, from a directory outside the developer directory that you're targeting). Then trash the now-depleted developer directory. uninstall-devtools calls uninstall-developer-folder. --mode=all is the default. The uninstall* scripts walk every installation back to the beginning of time; fight the madness of trying to do it yourself.
Xcode 4 itself doesn't require any tools in /usr/bin; those are for command-line builds. It maintains its own copy of the tools inside the Xcode.app package.
I haven't experienced the missing-tools problem you mention, but here is what I'd try:
In the Preferences window, Downloads pane, Components tab, try installing the command-line tools.
If Xcode is confused, select Open Developer Tool > More Developer Tools… from the Xcode menu. You'll be taken to an Apple downloads page from which you can download an installer package for the command-line tools. You'll need to sign in, but I think the free developer registration should be good enough. Run that, and you should be back in business.
— F
--
Fritz Anderson -- Xcode 4 Unleashed: Now in stores! -- <http://x4u.manoverboard.org/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden