简体   繁体   English

在不同版本的OS上测试iPhone软件

[英]Testing iPhone Software on Different Versions Of OS

Before submitting my app I want to test it on devices with the full range of iPhone OS available. 在提交我的应用程序之前,我想在具有全系列iPhone OS的设备上进行测试。 So, I have 2 questions that I am struggling with and would greatly appreciate any help or advice. 所以,我有2个问题,我正在努力,非常感谢任何帮助或建议。

What versions of the OS are in use? 正在使用哪些版本的操作系统?
I know that the App Store will only accept apps for 2.2.1 and 3 but all the features I'm using have been available since 2.0. 我知道App Store只接受2.2.1和3的应用程序,但我使用的所有功能自2.0以来就可用。 Is it safe to assume that everyone is running at least 2.2.1? 假设每个人都运行至少2.2.1是否安全?

Where can I find the other OS disk images, so that I can do the test? 我在哪里可以找到其他操作系统磁盘映像,以便我可以进行测试?
The iPhone Development Guide (p43) says search the developer website but I can't find them. iPhone开发指南(p43)说搜索开发者网站,但我找不到它们。
Searching the internet just seems to throw up jailbreak sites. 搜索互联网似乎就是在越狱网站上。
I can see some dmg files that were installed with the SDK at: 我可以看到随SDK一起安装的一些dmg文件:
Macintosh HD/Developer/Platforms/iPhoneOS.platform/DeviceSupport/xx but XCode Organizer ignores them. Macintosh HD/Developer/Platforms/iPhoneOS.platform/DeviceSupport/xx但XCode Organizer忽略它们。

Any help or advice would be greatly appreciated. 任何帮助或建议将不胜感激。 Many thanks in advance. 提前谢谢了。

If you just need to test it on the simulator (which is a good approximation of the actual iPhone OS as far as API's are concerned) you can change the OS version by going to Hardware > Versions and selecting your version on the iPhone Simulator app. 如果您只需要在模拟器上进行测试(就API而言,这是一个很好的近似实际iPhone OS)您可以通过转到硬件>版本并在iPhone模拟器应用程序上选择您的版本来更改操作系统版本。 For me, I see 2.0, 2.1, 2.2, 2.2.1 and 3.0. 对我来说,我看到2.0,2.1,2.2,2.2.1和3.0。

Edit: Here's a site that has older versions of the iPhone firmware: http://www.felixbruns.de/iPod/firmware/ Theoretically you can just "restore" to these older firmware through iTunes, although I haven't tried doing it myself. 编辑:这是一个拥有旧版iPhone固件的网站: http//www.felixbruns.de/iPod/firmware/理论上你可以通过iTunes“恢复”这些旧固件,虽然我还没有尝试过我。

What versions of the OS are in use? 正在使用哪些版本的操作系统?

Unfortunately this information isn't readily available. 不幸的是,这些信息并不容易获得。 I'd love to know. 我很想知道。 It's clear that virtually all iPhone owners will have moved to 3.0, since it's a free download and there's no good reason not to. 很明显,几乎所有的iPhone用户都会转移到3.0,因为它是免费下载的,没有充分的理由不这样做。 For iPod touch users it's not quite as clear, but my guess is that a good chunk of them have not upgraded. 对于iPod touch用户来说,它并不是那么清楚,但我猜他们中有很大一部分还没有升级。 I would speculate that there is a strong correlation between the people who have upgraded at the kind of people who pay for applications, but speculation isn't necessarily a very good business case! 我推测,那些为那些支付申请费用的人升级的人之间存在很强的相关性,但猜测并不一定是一个非常好的商业案例!

Where can I find the other OS disk images, so that I can do the test? 我在哪里可以找到其他操作系统磁盘映像,以便我可以进行测试?

If you want to be all official and above board, you actually can't downgrade an iPhone or iPod touch to an earlier OS release. 如果你想成为所有正式和高级板,你实际上无法将iPhone或iPod touch降级到早期的操作系统版本。 There are ways of doing it but I can't tell you what works and what doesn't as I've never tried. 有办法做到这一点,但我无法告诉你什么有用,有什么不可,因为我从未尝试过。

The way I do it is test on my handset which usually has the last released version or a late beta. 我这样做的方法是在我的手机上进行测试,该手机通常有最新发布的版本或后期测试版。 I then use the Simulator and my beta testers to check out how it works on older versions. 然后我使用模拟器和我的beta测试人员查看它在旧版本上的工作原理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM