There seems not to be an SDK 2.x.x for Snow Leopard. Or am I mistaken?
BTW, I'm loving the built-in Clang!! Kudos to the Xcode team!
There seems not to be an SDK 2.x.x for Snow Leopard. Or am I mistaken?
BTW, I'm loving the built-in Clang!! Kudos to the Xcode team!
You can write applications targeting iPhone OS 2.x for Snow Leopard. Just make sure you are not using any iPhone OS 3.0 specific API:s.
You can also write applications that target both 2.x and uses 3.0 features if available. Two things to keep in mind if you do:
[UIDevice currentDevice].systemVersion
before calling something 3.0-ish.Could be a third bullet; Ask yourself if user who did not even care to upgrade to iPhone OS 3.0, is likely to care for installing apps?
From Apple:
Set your Base SDK to iPhone 3.0 Device. Set your iPhone Deployment Target to 2.2.1. Use AvailibilityMacros when you call iPhone 3.0 APIs.
There isn't an iPhone Simulator for 2.x in Snow Leopard. Set your Active SDK to iPhone 3.0 Simulator to test in the simulator; set it to 3.0 Device and set your Active Executable to 2.2.1 to test the app on a 2.2.1 device.
I asked about this at WWDC and was told that the 2.2 SDK doesn't work with XCode 3.2. I tried just copying it over, and it didn't work. That said, I'm not sure how many iPhone customers are still running 2.2...
This is a big problem because we can't test apps for OS 2.x without a device that have OS 2.x! http://www.fdambrosio.net/archives/1395
There's a problem with supporting iPhone OS 2.x and iPhone OS 3.x related to device or interface rotation animation:
Read my blog post here: http://blog.jessearmand.com/post/358250047/regarding-iphone-os-compatibility-and-support-of-older