ios 如何将ios更新到特定版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11480750/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to update ios to a specific version
提问by bettermanlu
During our App test, we need to make sure our App works well on most iOS versions. And is there a way to update iOS version of iPhone to a specific version?
在我们的 App 测试期间,我们需要确保我们的 App 在大多数 iOS 版本上都能正常运行。有没有办法将 iOS 版本的 iPhone 更新到特定版本?
回答by Stretch
You can upgrade an iPhone to a newer version, but beware, you cannot then change back to a lower version of iOS. i.e. Once a phone is on iOS 5.1, you cannot then change it back to iOS 5.0.
您可以将 iPhone 升级到较新版本,但请注意,您无法再换回较低版本的 iOS。即一旦手机运行在 iOS 5.1 上,您就不能再将其改回 iOS 5.0。
To do the upgrade, you use the Organiser window in XCode. Select the "Devices" tab, and you will see the option to change the iOS version for that device.
要进行升级,请使用 XCode 中的管理器窗口。选择“设备”选项卡,您将看到更改该设备的 iOS 版本的选项。
Apple recommends (as do I) that you have separate devices for each iOS version you wish to test on. Therefore, one iPhone per version. Then you can easily test your code on all the different versions of iOS.
Apple 建议(和我一样)为要测试的每个 iOS 版本使用单独的设备。因此,每个版本一部 iPhone。然后您可以轻松地在所有不同版本的 iOS 上测试您的代码。
See the documentation here
请参阅此处的文档
Especially this note:
特别是这个注意事项:
Important The version of iOS you install must be the same as or newer than the version currently installed on the device. Attempting to install an older software image will fail. After a failed installation attempt, you must reinstall the last successfully installed version or a newer version of iOS.
重要 您安装的 iOS 版本必须与设备上当前安装的版本相同或更新。尝试安装较旧的软件映像将失败。安装尝试失败后,您必须重新安装上次成功安装的版本或更新版本的 iOS。
回答by Drise
I believe in iTunes you can upload firmware that you've downloaded. I used to use http://www.felixbruns.de/iPod/firmware/to get the link to the firmware hosted by apple I wanted when I was jailbreaking. When you plug in the device, you should get a screen that allows you to check or install updates, and if you shift-click on it, you can select a file.
我相信在 iTunes 中您可以上传您下载的固件。我以前用http://www.felixbruns.de/iPod/firmware/来获取我越狱时想要的苹果托管的固件的链接。当您插入设备时,您应该会看到一个允许您检查或安装更新的屏幕,如果您按住 Shift 键并单击它,您可以选择一个文件。
Note: I'm doing this from memory from about a year ago, but if I'm not precisely correct, I believe I still have the right idea and path forward.
注意:我是从大约一年前的记忆中做这件事的,但如果我不完全正确,我相信我仍然有正确的想法和前进的道路。
回答by eugene
In my limited knowledge, no there's no way you could do this unless you have iphone/ipad with the iOS version you want to test.
以我有限的知识,除非您有想要测试的 iOS 版本的 iphone/ipad,否则您无法做到这一点。
I should stress it there appears no way to do this in a legit way that will leave the phone intact for testing IAP and etc.
我应该强调的是,似乎没有办法以合法的方式做到这一点,从而使手机完好无损以测试 IAP 等。
Hope someone proves me wrong on this.
希望有人证明我错了。