Is anyone doing iPhone SDK 2.x.x dev on Snow Leopa

2019-02-14 08:04发布

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!

5条回答
手持菜刀,她持情操
2楼-- · 2019-02-14 08:17

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.

查看更多
仙女界的扛把子
3楼-- · 2019-02-14 08:19

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?

查看更多
时光不老,我们不散
4楼-- · 2019-02-14 08:27

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

查看更多
闹够了就滚
5楼-- · 2019-02-14 08:39

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

查看更多
再贱就再见
6楼-- · 2019-02-14 08:44

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...

查看更多
登录 后发表回答