首页 > 移动平台 > 详细

iOS 编译正常,但无法运行到真机和模拟器上,Choose a destination with a supported architecture in order to run on this device.

时间:2014-11-13 18:45:37      阅读:453      评论:0      收藏:0      [点我收藏+]

bubuko.com,布布扣

碰到这种情况一般我们首先试的就是重启Xcode,这种方法有的时候管用有的时候不管用。下面介绍几种方法:

一:可能是valid architectures支持armv7,或者armv7s,你要试着更改这个:

bubuko.com,布布扣

二:(这个没有试过,在网上找的,具体情况需要个人去试)

1、Close the Xcode

2、Delete the application from device

3、Restart the device

4、then re-run the application

三:检查product name是否和工程名一致(这里其实可以不一致),重点检查是否有空格或其它非法字符

四:打开终端

bubuko.com,布布扣

利用上述命令跳转到该目录下面,清除里面的所有缓存数据:

bubuko.com,布布扣

 

iOS 编译正常,但无法运行到真机和模拟器上,Choose a destination with a supported architecture in order to run on this device.

原文:http://www.cnblogs.com/anyezhuixing/p/4095394.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!