Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is anyone doing iPhone SDK 2.x.x dev on Snow Leopard?

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!

like image 287
mahboudz Avatar asked Aug 29 '09 01:08

mahboudz


2 Answers

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.

alt text

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.

like image 113
mahboudz Avatar answered Nov 01 '22 03:11

mahboudz


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:

  • Link any iPhone OS 3.0 frameworks weakly.
  • Be sure to check the [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?

like image 41
PeyloW Avatar answered Nov 01 '22 03:11

PeyloW