在Snow Leopard上为2.2.1 SDK开发 [英] Developing for 2.2.1 SDK on Snow Leopard

查看:58
本文介绍了在Snow Leopard上为2.2.1 SDK开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Snow Leopard,拥有Xcode 3.2和3.0 iPhone SDK.我希望我的应用程序可以在2.2.1上运行,但是在Xcode中找不到SDK.我已将部署目标设置为2.2.1,但仍然不能确定我没有使用任何3.0版本. (我已将示例应用程序发送给仍然有2.2.1且无法运行的朋友,因此看来我确实要做使用某些3.0特定的API.)如何确保我的应用程序将在2.2.1上运行?(Simulator还仅列出3.0作为版本选项.)我不愿手动检查我的源代码,以查找2.2.1.中可能不存在的每个调用.

I’ve installed Snow Leopard, have Xcode 3.2 and 3.0 iPhone SDK. I want my applications to run on 2.2.1, but the SDK is nowhere to be found in Xcode. I’ve set the deploy target to 2.2.1, but still I cannot be sure I am not using any 3.0-isms. (I’ve sent a sample application to my friend who still has 2.2.1 and it does not run, so it looks I really do use some 3.0 specific API.) How can make sure that my applications will run on 2.2.1? (Simulator also lists only 3.0 as version option.) I’d hate to check my sources manually for every call that might not have existed in 2.2.1.

推荐答案

请参阅我的问题.

但是,我认为这是苹果公司为我们造成的糟糕局面.如果您像我一样没有iPhone 2.2s可以测试,那么确实没有办法针对2.x.x进行测试.实际上,我只是购买了新的3G,以便可以使用旧的3G进行测试.愚蠢的是,当iTunes有一天问我是否要将手机更新到3.0.1时,我说是,却没有意识到我正在更新哪部手机.

However, I think this is a bad situation that Apple has created for us. There really is no way to test against 2.x.x, if you, like me, have no iPhone 2.2s to test against. I actually bought a new 3Gs just so I could use the old 3G for testing. Stupidly though, when iTunes came up one day and asked if I wanted my phone updated to 3.0.1, I said yes, without realizing which phone I was updating.

我尝试降级至2.2.1,执行所有操作,例如按住主屏幕按钮和电源10秒钟等,但无济于事,但是我一直遇到基带加载错误.

I have tried, to no avail, to downgrade to 2.2.1, doing all the things like holding the home button and power for 10 seconds, etc., but I keep getting a baseband loading error.

我知道Apple正在努力将所有人的操作系统都推到3.0,但是没有关于仍在旧操作系统上的用户数的统计信息,因此继续支持该操作系统似乎是审慎的做法.他们至少应该保持对Simulator的2.2.x支持.我讨厌根据我是否正在使用3.0调用来发布2.2.1应用程序,而没有在2.2.1上进行实际测试.

I know Apple is trying hard to push everyone to 3.0, but not having the stats on how many users are still on the older OS, it seems prudent to keep supporting that OS. They should at least have kept 2.2.x support for the Simulator. I hate to release a 2.2.1 app based on whether I think I am using 3.0 calls or not, without actually testing it on 2.2.1.

这篇关于在Snow Leopard上为2.2.1 SDK开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆