1

Will XCode installer automatically update my old version or do I need to uninstall old one first?

Sorry, sort of newbie to Mac development. Going fine with Xcode 3.2.4, but new version is out as of today.

Fraggle
  • 8,607
  • 7
  • 54
  • 86

4 Answers4

3

The new Xcode installer will normally overwrite the older version for you automatically

tegbains
  • 597
  • 3
  • 14
2

You don't need to uninstall the old XCode, it will update automatically.

Bastian
  • 10,403
  • 1
  • 31
  • 40
0

Considering that Xcode now supports installing versions side-by-side, I would suggest installing Xcode 3.2.5 in a folder called Dev325 or something and try it out first just to make sure. It's unlikely you will experience a problem, but it has been known to happen. Then, once you have used 3.2.5 for awhile and are comfortable that it is working correctly, uninstall 3.2.4 - About Xcode.pdf will tell you how to uninstall properly.

ericg
  • 8,413
  • 9
  • 43
  • 77
  • are you sure this won't mess up the command line tools? (if you are using gcc from command line) – Bastian Nov 24 '10 at 13:14
  • The documentation states that one can install multiple versions side by side and if you look at /usr/bin, you will see the gcc tools there that will be used by that version of Xcode. – ericg Nov 24 '10 at 13:58
  • and the tools that are installed in /usr/bin like /usr/bin/gcc-4.2? If you start compiling your own apache, ruby or whatever you won't use xcode but configure scripts like other unix/linuxes do... and I wonder if those tools are also properly updated if you install the new xcode in a different folder and delete the /Developer later. – Bastian Nov 25 '10 at 14:34
  • Well, the documentation does state that there can only be one version of the tools installed into /usr. If you do not want the current version of the tools replaced, unselect "UNIX Development" when installing Xcode - you will still get /usr/bin. When writing your own makefile, make it robust enough to allow one to specify the path for the tools to be used. – ericg Nov 30 '10 at 14:40
0

I would suggest to install side by side, however, to retain the ability to run 3.2.4 should anything happen. I just upgraded to 3.2.5 and my application does not run in the simulator anymore, giving out an error as follows:

Detected an attempt to call a symbol in system libraries that is not present on the iPhone: nanosleep$UNIX2003 called from function _ZN3irr16CIrrDeviceIPhone5yieldEv in image pw2009test_dbg. If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first.

This is the same issue as reported App crashes with 4.2 iPhone simulator 'set start-with-shell off'. This issue specifically started after 3.2.5 upgrade.

Community
  • 1
  • 1
Loic Argelies
  • 561
  • 3
  • 13