简体   繁体   English

在Xcode的旧版OS上测试iPhone应用

[英]Testing iPhone app on older OS versions in Xcode

All, Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone OS? 全部,是否可以下载旧版本的iPhone模拟器来测试旧版本的iPhone OS的应用程序? I'm running Xcode 3.2.2. 我正在运行Xcode 3.2.2。 and it only has iPhone OS 3.1.3 and I need to test on 3.1.2. 而且它只有iPhone OS 3.1.3,我需要在3.1.2上进行测试。

Thanks in advance 提前致谢

Head to 前往

http://connect.apple.com http://connect.apple.com

Click "Developer Tools" on the right 点击右侧的“开发人员工具”

You can get all the way back to Xcode 1.0 if you like 如果愿意的话,您可以一直回到Xcode 1.0

I've been trying to do the same thing. 我一直在尝试做同样的事情。 The answer seems to be rather unsatisfying: You cannot use the simulator to test if your app runs on a previous iOS version. 答案似乎并不令人满意:您不能使用模拟器来测试您的应用程序是否在以前的iOS版本上运行。 It only works on the device, according to Apple : 根据Apple的说法,它只能在设备上使用:

iPhone OS Note: Mac OS X v10.6 does not support using iPhone Simulator SDKs prior to version 3.0. iPhone OS注意: Mac OS X v10.6不支持使用3.0版之前的iPhone Simulator SDK。 In addition, when building with the simulator SDKs, the binary runs only on the same OS version as the SDK, not on earlier or later versions. 此外,使用模拟器SDK进行构建时,二进制文件只能在与SDK相同的OS版本上运行,而不能在较早或更高版本上运行。

This seems really dull. 这似乎真的很乏味。 How am I supposed to test backwards compatibility without having one physical iPhone for each SDK version? 我应该如何在不为每个SDK版本安装一部物理iPhone的情况下测试向后兼容性? Not good. 不好。

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

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