2

Each time I install a new version of the SDK I lose the previous one. I want to use the new SDK, but I need to build using the oldest one. Is there any method to keep the installed SDk when installing a new one?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Mouhamad Lamaa
  • 884
  • 2
  • 12
  • 26
  • possible duplicate of [Can I have multiple XCode versions installed?](http://stackoverflow.com/questions/669367/can-i-have-multiple-xcode-versions-installed) – ceejayoz Feb 18 '11 at 15:27

3 Answers3

3

The recommended approach is to set the base SDK to the latest one but change the deployment target to the version you want to support.

diederikh
  • 25,221
  • 5
  • 36
  • 49
0

You can have multiple versions simultaneously. Just give a different path while installing. But I had problems while having both versions together. The main problem I noticed was in the code sense of the latest version.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Govind
  • 84
  • 7
0

Officially, you’ll have to follow @Govind’s advice on installing each Xcode version to a separate path. Unofficially, you can extract the SDK from the installer using a tool like Pacifist and keep it around. This is, of course, unsupported and undocumented.

Jeff Kelley
  • 19,021
  • 6
  • 70
  • 80