Benches Uncategorized

4

Uninstalling old Xcode

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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!

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    Bob Lang1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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

  2. 0

    Kok Leong Tah

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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?

  3. 0

    Bob Lang1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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

  4. 0

    Netdude21

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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