Topic : Uninstalling old Xcode

Topic Archived This topic has been archived - replies are not allowed.


This question is not answered. "Helpful" answers available: 2 . "Solved" answers available: 1 .



            Permlink
            Replies : 4 - Pages : 1 - Last Post : Jul 22, 2008 1:32 PM by: Netdude21
Kok Leong Tah


Posts: 42
Registered: Aug 1, 2003
Uninstalling old Xcode
Posted: May 27, 2008 7:00 AM
 

I'm seeing a bunch of directories in /System/Library/Frameworks that are identical to the stuff in /Developer, but not all of the directories in /System are populated.
Could this be stuff leftover from an older Xcode I was running (I believe it's 1.5) I upgraded from Panther to Tiger and installed Xcode 2.5 before removing the old one.

The reason I'd like to do this is because I think having two versions of the same thing is causing some things to break. I'm trying to install pyobjc-py25 now, and it says it can't find a bunch of InterfaceBuilder files. Under my /Developer directory, I see all of the files that are purportedly missing.

But I think the installer (fink) is looking in /System instead which could explain why it's not finding the files. In/System/Library/Frameworks/InterfaceBuilder.framework/, the only thing present is a InterfaceBuilder_redoprebinding.

Any hints will be much appreciated!

iBook G3 500   Mac OS X (10.4.11)    
Bob Lang1


Posts: 1,356
From: UK
Registered: Apr 15, 2004
Re: Uninstalling old Xcode
Posted: May 27, 2008 8:45 AM   in response to: Kok Leong Tah
 

To uninstall Xcode you need run a special shell script: /Applications/Tools/uninstall-devtools.pl

If you can find the uninstall script for the older version of Xcode then run it. I would now run the uninstall script for the CURRENT version of Xcode. Then I would tidy up the folders to delete anything left behind.

Now download and install a clean version of the developer tools.

Good luck

Bob

Mac Book   Mac OS X (10.4.11)    
Kok Leong Tah


Posts: 42
Registered: Aug 1, 2003
Re: Uninstalling old Xcode
Posted: May 27, 2008 10:18 AM   in response to: Bob Lang1
 

Did you mean /Developer/Library/uninstall-devtools ?

I ran it but that didn't remove the older files.
Where can I find the script for an older version of XCode?

iBook G3 500   Mac OS X (10.4.11)    
Bob Lang1


Posts: 1,356
From: UK
Registered: Apr 15, 2004
Re: Uninstalling old Xcode
Posted: May 27, 2008 2:02 PM   in response to: Kok Leong Tah
 

Hi

You can delete the remaining files manually and hope you get them all. Alternatively, you can download older versions of Xcode from developer.apple.com, then use Pacifist to extract the uninstall script.

Bob

Mac Book   Mac OS X (10.4.11)    
Netdude21


Posts: 41
From: Evansville, IN.
Registered: Oct 3, 2000
Re: Uninstalling old Xcode
Posted: Jul 22, 2008 1:32 PM   in response to: Kok Leong Tah
 

To uninstall previous versions of Xcode, can do it in 2 ways. One way is to type in a perl script in a Terminal window, they are: 1. "sudo perl /Developer/Tools/uninstall-devtools.pl" or "sudo perl /Volumes/Xcode\ Tools/Utilities/uninstall-devtools.pl". Then restart your computer before installing the new version of Xcode. Hope this helps.

Netdude21

iMac DV (Summer 2000) Ruby 400MHz,   Mac OS X (10.5)   MacBook Pro 15" 1 GB RAM 80 GB HD Mac OS X 10.5