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!
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With