Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 10, 2012, 12:57 PM   #1
smirk
macrumors 6502
 
Join Date: Jul 2002
Location: Orange County, CA
Question about installing Xcode

Hi, I had Xcode 3.2.6 installed on my Snow Leopard Mac. Yesterday I upgraded to Lion, and today I installed Xcode 4 via the App Store.

The problem is that Xcode 3 is still installed and its icon is still in the dock. I can't find any installation instructions (presumably because there's no longer an actual installation?) so I can't tell if I was supposed to run the uninstall script first or not.

Can someone tell me how to properly remove Xcode 3 and get Xcode 4 properly installed? I read one post saying to just delete the /Developer folder; not sure if that's safe to do... are there any debug services running out of that folder?

Thanks!

P.S. I'm used to installing the Unix tools to get gcc, etc. in /usr. Is that now the "Command Line Tools" item in the Downloads pane of Xcode Preferences?
smirk is offline   0 Reply With Quote
Old Apr 10, 2012, 01:52 PM   #2
szymczyk
macrumors regular
 
Join Date: Mar 2006
Your Xcode 3.2.6 install should still be there unless you told Xcode 4.3 to remove the old version when you installed Xcode 4.3 or ran it for the first time. If your Xcode 3.2.6 install is still there and you want to uninstall it, you should run an uninstall script from the Terminal. In the folder where you installed Xcode 3.2.6, which most likely is /Developer, there should be an About Xcode document. That document has instructions on how to run the uninstall script.

Quote:
P.S. I'm used to installing the Unix tools to get gcc, etc. in /usr. Is that now the "Command Line Tools" item in the Downloads pane of Xcode Preferences?
Yes.
__________________
Mark Szymczyk
Author, Xcode Tools Sensei
http://www.meandmark.com
szymczyk is offline   0 Reply With Quote
Old Apr 10, 2012, 03:08 PM   #3
smirk
Thread Starter
macrumors 6502
 
Join Date: Jul 2002
Location: Orange County, CA
Thank you. It never asked me anything about removing an older version; maybe because it installs automatically from the app store now?

You know what? It looks like I've misunderstood the uninstall instructions for many years now. They read:

Quote:
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
Since I always read this in the installation instructions of a new version, I always interpreted it to mean that if you have Xcode 3.0 installed and are about to install 3.1, the uninstall script that ships with 3.0 will not work properly and the uninstaller that ships with 3.1 should be used. It always seemed odd to me. But now after reading your post it sounds like they're just saying that the uninstaller that you run should come from whatever version was installed. Maybe they should read:

Quote:
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean newer versions of Xcode off of your system properly. You should use the one packaged with the installed version of the Xcode developer tools.
I'll run the uninstall script from 3.2.6, and hopefully that won't remove anything from Xcode 4.

Thanks!

Last edited by smirk; Apr 10, 2012 at 03:20 PM.
smirk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
issue while installing xcode commandline geek2b Mac Basics and Help 1 May 23, 2014 11:51 AM
Does installing Xcode really help with iTunes syncing? tymaster50 iOS 7 12 Jul 8, 2013 06:05 PM
Installing XCode radubolovan Mac Programming 4 Mar 18, 2013 03:04 PM
Help Installing Xcode loon3y iPhone/iPad Programming 2 Sep 25, 2012 12:23 AM
no gcc after installing xcode! help! urgent! miissts Mac Programming 4 Aug 28, 2012 09:00 AM

Forum Jump

All times are GMT -5. The time now is 11:08 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC