0
votes

I've downloaded the latest SDK from developer.apple.com and can only pick 3.2 or 4.1 from Project > Properties > Base SDK.

My iPhone is 4.1

My client have iPhone 3.x

You feel the problem...

How can I debug for iOS 3.x in xcode with the 4.1 SDK installed?

2
After a few minutes of research I have come to the conclusion that I can't simulate 3.x on the xcode simulator when I have a newer SDK. I have to buy the physical device. If something isn't correct in my statement, please comment.Fernando Redondo

2 Answers

3
votes

Actually that's a very frequent question (was lazy, only linked one).

Short version: you need to set your Base SDK to the highest SDK version you've got and your project's Deployment Target to the lowest version you like to support, e.g. 3.0. This means, the Deployment Target specifies the oldest version your app should be able to run on. But beware, this setting does not prevent you from accidentially calling, say, methods available since 4.0 on an 3.0 iPhone and thus causing a method missing exception.

1
votes

This isn't possible have I come to understand.

You have to buy a old iPhone 3.x.

If you want my opinion on this, then I think this is horrible, frustrating and completely not understandable.