Moshe
Moshe

Reputation: 58087

Linking against older iPhone OS in Xcode 3.2.3

I installed the new GM iPhone sdk. When I try to compile against iOS 3.0, it claims that libraries are missing. What now? I think that I have the install DMG somewhere for 3.2.2, if that helps.

Upvotes: 0

Views: 311

Answers (2)

Allisone
Allisone

Reputation: 9064

Do the following

  • sudo /Developer/Library/uninstall-devtools –mode=all (This will uninstall the current XCode installation)
  • Then install first old XCode (3.2 final) in default folder (/Developer)
  • Then install the new XCode (3.2.3 GM) in other folder (/DeveloperBeta)

This way you will have both. And can launch xcode from either /Developer/Applications/Xcode.app or /DeveloperBeta/Applications/Xcode.app

3.2.3 last beta did remove all other SDK's cause to many people tried to publish Apps developed with the beta SDK, which would not be accepted by Apple. With GM it will be the same

Upvotes: 0

cdespinosa
cdespinosa

Reputation: 20799

Always use the newest SDK available. There is little to be gained (and a lot you give up) by building against older SDKs. It limits both what APIs you can call and also prevents your code from taking advantage of the OS features on newer devices.

If you need to deploy on older OS versions, just set the Deployment Target to the earliest version you need to run on. You don't need its SDK.

Upvotes: 2

Related Questions