简体   繁体   English

我已经在xcode5中安装了iOS6模拟器,但是无法在iOS6模拟器上运行应用

[英]I have installed iOS6 simulator in xcode5, but I can't run app on iOS6 simulator

There is no option on the left corner of Xcode to select to run on iOS6 or iOS7 simulator. Xcode的左上角没有选项可以选择在iOS6或iOS7模拟器上运行。 While there should be. 虽然应该有。 The storyboard builds for iOS6.1 and later. 故事板适用于iOS6.1和更高版本。 How could I run my app on iOS6 simulator? 如何在iOS6模拟器上运行我的应用程序?

There is an option on the top left corner to select which simulator you want: 左上角有一个选项可以选择您想要的模拟器:

在此处输入图片说明

You also have to select the right Architecture to be able to change the Deployment Targeet: 您还必须选择正确的体系结构才能更改Deployment Targeet:

在此处输入图片说明

To further prove that you have to remove the 64 bits: 要进一步证明您必须删除64位,请执行以下操作:

在此处输入图片说明

Hope this helps! 希望这可以帮助!

You might need to install additional iOS simulator. 您可能需要安装其他iOS模拟器。 To install additional tools and software go to: 要安装其他工具和软件,请访问:

xcode preference -> downloads . xcode首选项->下载

you must change your deployment target to 6.1. 您必须将部署目标更改为6.1。 if you cannot select that you might need to install additional packets from the settings of xcode. 如果无法选择,则可能需要从xcode的设置中安装其他数据包。

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

@LuisCien's answer is correct, though your VALID_ARCHS may need to be edited as well. @LuisCien的答案是正确的,尽管您的VALID_ARCHS也可能需要进行编辑。 The key point there being that ARCHS and VALID_ARCHS cannot contain arm64. 关键在于ARCHS和VALID_ARCHS不能包含arm64。 As @LuisCien and others have pointed out, the IPHONEOS_DEPLOYMENT_TARGET must be 6.1 or earlier. 正如@LuisCien和其他人指出的那样,IPHONEOS_DEPLOYMENT_TARGET必须为6.1或更早版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM