OSX 10.10 Yosemite上的iOS 6.1模拟器 [英] iOS 6.1 simulator on OSX 10.10 Yosemite

查看:130
本文介绍了OSX 10.10 Yosemite上的iOS 6.1模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个基于iOS 6.1的应用程序,在升级到OSX之后,Yosemite无法运行模拟器。

I am developing an application based on iOS 6.1, and after upgrading to OSX Yosemite can not run the simulator.

我一直在阅读stackoverflow,还有一些人们说OSX 10.10不再支持iOS 6,只有7和8。

I've been reading on stackoverflow, and some people say that OSX 10.10 no longer supports iOS 6, only 7 and 8.

我选择在iOS 6上开发,因为仍然使用此版本的大量用户。

I chose to develop on iOS 6 because of the large amount of users that still use this version.

我看过这个话题在OS X 10.10(Yosemite Beta)中,如何使用iOS 6.1模拟器进行测试?

但我希望对路径有所了解。

But I would like an opinion on the path to be taken.

我回到OSX 10.9 Maverick,或者升级到iOS 7.1?

I return to OSX 10.9 Maverick, or advance to iOS 7.1?

提前谢谢。

推荐答案

早于iOS 7.1的iOS模拟器运行时无法在OS X Yosemite上运行。

iOS Simulator runtimes older than iOS 7.1 will not work on OS X Yosemite.

您仍然可以通过设置较旧的部署目标来构建应用程序以支持较旧的iOS版本,但您无法在OS X Yosemite上运行的模拟设备上测试它们。您可以在运行iOS 6.1的物理设备上进行测试,也可以在OS X Mavericks中运行Xcode 5.1.1,以便在较旧的模拟器中测试您的项目。

You can still build your apps to support older iOS versions by setting an older deployment target, but you will not be able to test them on a simulated device running on OS X Yosemite. You can test on a physical device running iOS 6.1, or you can run Xcode 5.1.1 in OS X Mavericks to test your project in the older simulator.

这不是只是一个任意的要求。这是传统运行时无法在较新的主机OS版本上运行的限制。在新版本中删除支持sim版本的主要原因是它们因某种原因无法在新的操作系统版本上运行,并且需要对模拟运行时本身进行重大更新或添加hacky(性能成本)变通方法到主机操作系统来支持它们。

This is not just an arbitrary requirement. This is a limitation of the legacy runtimes not being able to run on the newer host OS versions. The main reason support for sim versions get dropped in new releases is that they just don't work on the new OS versions for one reason or another and would require either major updates to the simulated runtime itself or hacky (performance-costing) workarounds added to the host OS to support them.

在过去5年左右的时间里,我们推动了主机和sim之间的接口层越来越低,现在减少它可能是我们用当前模型完成的最小的。

Over the past 5 years or so, we've pushed the interface layer between the host and sim lower and lower, reducing it now to probably the smallest that we can accomplish with the current model.

这篇关于OSX 10.10 Yosemite上的iOS 6.1模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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