Xcode 5没有显示在iOS 6上运行Simulator的Scheme选项 [英] Xcode 5 not showing Scheme option to run Simulator on iOS 6

查看:200
本文介绍了Xcode 5没有显示在iOS 6上运行Simulator的Scheme选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 5表现得很好,我可以在我的iOS 7设备和iOS 7模拟器上构建和运行应用程序。

Xcode 5 is behaving just fine, and I'm able to build and run apps on my iOS 7 device and in the iOS 7 simulator.

但是,我我想支持iOS 6.1,但我没有看到任何方法来构建和运行iOS 6模拟器的应用程序。

However, I do want to support iOS 6.1, but I don't see any way to build and run the apps for an iOS 6 simulator.

我做过的事情:

  • Set Deployment Target to 6.1 for both Project and Target
  • Downloaded iOS 6 Simulator
  • Copied the iOS 6 SDK into Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
  • Reset Content and Settings for the simulator

最初,我试图看到该应用程序iOS 6模拟器通过在iOS模拟器应用程序的硬件>设备菜单中从iOS 7切换到iOS 6,但iOS 6模拟器中没有任何应用程序。

Originally, I was trying to see the app in the iOS 6 simulator by switching from iOS 7 to iOS 6 in the Hardware > Device menu in the iOS Simulator application, but there aren't any apps in the iOS 6 simulator.

我从这个的答案中收集到我之前应该选择的内容我点击Build / Run。

I'm gathering from answers like this one that there should be something I can select before I click Build/Run.

我希望能够在iOS 6和7模拟器中看到我的应用程序。我缺少什么想法?这是我点击模拟器下拉列表时看到的 LINK

I'd love to be able to see my apps in both iOS 6 and 7 simulators. Any ideas what I'm missing? Here's a LINK to what I see when I click on the simulator dropdown.

推荐答案

原来解决方案是将项目的部署目标从iOS 6.1更改为iOS 6.0,模拟器方案选择立即显示选择iOS 6或7个模拟器。基本上,部署目标应该与您安装的模拟器版本相匹配。

Turns out the solution was changing the deployment target for the project from iOS 6.1 to iOS 6.0, upon which the simulator scheme selection immediately showed the option to choose iOS 6 or 7 simulators. Basically the deployment target should match a simulator version that you have installed.

感谢随机评论者提出的问题,例如这一个谁提到这对他们有效。

Thanks to random commenters in questions like this one who mentioned that that worked for them.

这篇关于Xcode 5没有显示在iOS 6上运行Simulator的Scheme选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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