在OS X 10.10(Yosemite Beta)中,如何使用iOS 6.1模拟器进行测试? [英] In OS X 10.10 (Yosemite Beta), How do I Test Using iOS 6.1 Simulator?

查看:168
本文介绍了在OS X 10.10(Yosemite Beta)中,如何使用iOS 6.1模拟器进行测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Yosemite Beta中使用Xcode 5来定位iOS 6.1。但是,模拟器甚至不会运行应用程序,或显示默认图标(我得到的只是一个黑色的iOS形屏幕,而Home或Lock按钮不起作用)。 7.1模拟器工作正常。

I am trying to target iOS 6.1 using Xcode 5 in Yosemite Beta. However, the simulator won't even run the app, or show the default icons (all I get is a black iOS-shaped screen, and Home or Lock buttons are not working). The 7.1 simulator works fine.

我还注意到Xcode 6 Beta甚至不提供7.1之前的模拟器版本。

I have also noticed that Xcode 6 Beta does not even offer simulator versions prior to 7.1.

这是否表明即使在OS X 10.10的最终版本中,也无法模拟7.x之前的iOS版本?这对我来说似乎非常不合理。

Does this indicate that, even in the final of OS X 10.10, it will be impossible to simulate iOS versions prior to 7.x? This seems very unreasonable to me.

这是预期的行为吗?

编辑:所以我在发布这个问题之前已经尝试重新安装并重新下载6.1模拟器,这没有改变这种情况。我还检查了其他类似的问题,这些问题涉及升级到Mavericks(OS X 10.9),但支持的版本看起来很奇怪。

So I had already tried re-installing and re-downloading the 6.1 simulator before posting this question, which did nothing to change the situation. I also checked other similar questions that dealt with the upgrade to Mavericks (OS X 10.9) but the versions supported seem oddly chosen.

我会将问题提交给Apple并报告支持我的调查结果,除非有人回复谁有关于这个具体案例的具体信息。

I will submit the question to Apple and report back my findings, unless someone else replies who has more concrete information on this specific case.

推荐答案

据我所知, iPhone模拟器在每次更新OS X时都会遇到这种问题,因为iPhone模拟器的核心是使用OS X的核心,它只支持最新的两个版本。也就是说,

As far as I have experienced, The iPhone simulator always have this kind of issue on every update of OS X, since the core of iPhone simulator is using the core of OS X, and it only support the latest two version. That is,

10.10 - > iOS 7,iOS 8。

10.10 -> iOS 7, iOS 8.

10.9 - > iOS 6,iOS 7 。

10.9 -> iOS 6, iOS 7.

同时,Xcode显然只支持下载最新的两个版本模拟器,这意味着你可以在Xcode 5中获得iOS 6模拟器,但不能在Xcode 6中获得。

Meanwhile, Xcode obviously only support for downloading the latest two version simulator, which means you can get iOS 6 simulator in Xcode 5, but not in Xcode 6.

但是你可以通过将旧的SDK复制/粘贴到正确的文件夹中来获得旧的模拟器,但这仍然遵循OSX-iOS关系。也就是说,如果你有iOS 6模拟器SDK,你可以在OSX 10.9上运行iOS 6模拟器,但不能在OSX 10.10上运行。

However you can get the old simulator by copy/paste the old SDKs into the correct folder, but this still follows the OSX-iOS relation. That is, if you have the iOS 6 simulator SDK, you can run the iOS 6 simulator on OSX 10.9, but not OSX 10.10.

这篇关于在OS X 10.10(Yosemite Beta)中,如何使用iOS 6.1模拟器进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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