Choose a destination with a supported architecture in order to run on this device

117 篇文章 0 订阅
73 篇文章 1 订阅

今天下载了一个demo,运行时出现了“Choose a destination with a supported architecture in order to run on this device”的错误。在网上找了下方法,如下:

网去搜索,发现大部分人说的是,build setting里面的product name没有设置正确,可是我的name设置的很正确啊,最后无意间看到一位仁兄的话发现我的错误正是在这里:ios5的设备不支持armv7s,所以必须将Architectures设置为armv6,但是他最后说了一句,仅仅需要改动valid architectures就行,不要改动architectures,否则容易引起真机不运行,xcode4.5 <wbr>各种不能运行在真机上,这就是我的错误所在,我吧architectures也给改成了armv6了。记得,architectures就保持原来的状态:$(ARCHS_STANDARD_32_BIT)。


Also you need to select the compiler LLVM in

Project --> Build Settings --> Build Options

enter image description here


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值