使用最新的Xcode在iOS 3.1.3中进行测试 [英] Testing in iOS 3.1.3 with the latest Xcode

查看:126
本文介绍了使用最新的Xcode在iOS 3.1.3中进行测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用最新的Xcode版本测试iOS 3.1.3中的应用程序?

How do you test an app in iOS 3.1.3 with the latest Xcode build?

是否可以在模拟器中执行此操作?如果没有,是否可以将设备降级到iOS 3.1.3?

Is it possible to do this in the Simulator? If not, is it possible to downgrade a device to iOS 3.1.3?

推荐答案

是的,您可以降级设备。它没有得到官方支持,但我已经在两台3G上完成了它,并且成功地在3.1.3上进行了测试。

Yes, you can downgrade a device. It is not officially supported but I've done it on two 3Gs with success for testing on 3.1.3.

首先找到一个名为RecBoot的工具,由名为the0rkus的人运行,仅在Intel macs上运行。加载3.1.3软件后,手机将退出恢复模式。

First find a tool called RecBoot by someone called the0rkus, runs on Intel macs only. This brings the phone out of recovery mode once you have loaded the 3.1.3 software.

查找设备的.ipsw文件,因为您知道它是一个不同的文件适用于iPhone 3 / 3GS或iPod Touch。通过iTunes以常规方式将此软件加载到手机中,按住选项键,同时单击恢复。等待它加载。

Find the .ipsw file for your device, as you know it is a different file for iPhone 3/3GS or iPod Touch. Load this software to the phone via iTunes in the usual way, holding the option key while clicking "restore". Wait while it loads.

当它完成并重新启动时,你会发现iTunes抱怨这个版本不正确。情况是软件加载,准备好了,但它缺乏Apple的最后祝福。 RecBoot使其退出此模式,将手机唤醒到正常的准备激活状态。一旦你通过插入SIM卡连接到iTunes,就会有一部手机,就像你从未使用过4.0一样。

When it finishes and reboots you will find iTunes complains about this version being incorrect. Situation is the software is loaded, ready to go, but it lacks the final blessing from Apple. RecBoot brings it out of this mode, "waking" the phone into normal ready-to-activate state. Once you have gone through connection to iTunes with a SIM inserted you have a phone just as if you had never gone to 4.0.

太糟糕了,我们不得不求助于黑客攻击使用旧设备进行测试,但我不知道其他任何方式。如果模拟器仍能运行3.1.3会很好,如果设置部署目标会标记3.2之前的功能,那就太好了。

Too bad we have to resort to a hack to test with older devices but I don't know any other way. It would be nice if the simulator could still run 3.1.3, nice if setting deployment target would flag pre-3.2 features.

你也可以安装旧的Xcode 3.2。 1与iPhone SDK 3.1.3,但硬件是您的软件是否真正有效的真正考验。鉴于此,您可能会跳过查找和使用它 - 尽管没有更快的方法来查找3.1.3中无法使用的所有内容。安装了不同版本的Xcode的多个副本没有问题,但最好使用 / Developer / Library / uninstall-devtools 中提供的脚本卸载它们(阅读每个Xcode分发包含的自述文件)

You can also install the older Xcode 3.2.1 with iPhone SDK 3.1.3 but the hardware is the true test of whether your software really works. Given that, you could probably skip finding and using it - although there is no quicker way to find everything that you can't use in 3.1.3. There is no problem having multiple copies of Xcode of different versions installed but it is a good idea to uninstall them with the script provided in /Developer/Library/uninstall-devtools (read the readme included with each Xcode distribution)

这篇关于使用最新的Xcode在iOS 3.1.3中进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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