Apple SDK version question

I installed SDK 3.2.2 so I can build an iPad version of my game. I noticed the lowest target version in Xcode is 3.0. Does this mean OS 2.x is deprecated/obsoleted by Apple? Is it possible to build a Unity game supporting iPad while also supporting iPod touch users still on 2.x? My game currently requires OS 2.2.1 or later and I’m using no v.3 specific functions.

Thanks for any suggestions/hints.

First gen devices won’t work with iOS 4. iOS 4 is free… i bet soon we all have to build for 4 only - this way Apple will force people to buy newer devices - at least I hope this will happen! I don’t like to support the slower devices any longer, actually I would love to see the 3GS as the lowest supported device next year. No more memory problems ahhhh :smile:

But at the moment you can still build for 2.21 as far as I know.

It would be nice to keep those users though, because my game doesn’t use any OS 3.0 features.

For some reason Apple didn’t include 2.x build targets in the 3.2 SDK.

So I guess I should build for Device-3.0 in Xcode and not worry about 2.x OS users any more.

The OS2 SDK has been cut for quite some time before already. The remaining amount of users on os2 either never use itunes or don’t want to pay $5 for a very strong os upgrade … not exactly the kind of user one wants anyway with commercial development (those who don’t want to pay anything or are not really connected to the iOS world at all)

Thanks dreamora, you have rationalized it enough so I can stop worrying about it :wink:

One thing to mention on why its unimportant if its cut:

The BaseSDK defines the max OS supported.
But the min OS supported by your application is defined through the target SDK in the project settings :slight_smile:

So you can set base to 4.0 and still target 2.x if you want (though by Stats on iPhone and Android show device and OS distributions - GSMArena.com news you wouldn’t waste the time anymore to support <= 5% of primarily 1st gen devices)

At this time, it is most definitely best to set the Base SDK to 4.0 and the Deployment Target to 3.0

Because, when you build (in Xcode) with 4.0 set as the Base SDK. Your Unity game will work with multitasking when iOS 4 is released in a few weeks.

Randy, thanks! I’m downloading the 4.0 beta SDK now. Where do you set the Deployment Target? I see where the Base SDK is in the Project Info in XCode but I can’t find deployment target.

just scroll down further (quite a bit further) there you can set the target sdk which forms the “min requirement”

All, I installed the 4.0 SDK, now when I open my Unity xcode project, it says “base sdk missing” and there is no deployment target anywhere in the Project Info.

The release notes for SDK say

““Menu item: “Upgrade Current Target for iPad…” to convert to Universal app ! - Base SDK is set to iPhone SDK 4.0 ! - iPhone OS Deployment Target is set to iPhone OS 3.2 or earlier ! - Targeted Device Family is set to iPhone/iPad””

I see the Project menu item however the item is greyed out. iPhone OS Deployment Target and Targeted Device family are missing from the Project Info

I’m stumped!

See if this post will help…
http://forum.unity3d.com/viewtopic.php?t=55049

Randy, unfortunately the menu items you mention in that post are missing/ not available to me. Do you use the XCode project produced by Unity build or did you hack your own XCode project? I am using the one produced by Unity.

I’m using the project created by Unity. You should see that window by doing a Get Info on the Target. See attached screenshot…

Re-installed SDK and rebuilt Unity project, now all is good. Thanks again

I verified the deployment target was really missing from the xcode project sometimes. There is a versioning snafu I keep running into. I’ve detailed it here
http://forum.unity3d.com/viewtopic.php?t=55049