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

来源:互联网 发布:淘宝详情页下载工具 编辑:程序博客网 时间:2024/06/08 00:44

最近遇到了这么一个问题,编译没有报错,但是偏偏无法刷到手机上。

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

以前碰到这样的问题的解决方法不外乎就是几种:

1、删掉原有的程序,重刷。

2、clean掉原有的工程,关闭Xcode重新编译运行

3、把iPhone或者mac重启一次

4、工程中名称含有特殊字符

 

 

今天碰到这个问题怎么也解决不了,发现,如截图, Executable file我之前改动过,改成另一个名称了

发现编译完成之后找不到这个文件,导致这样的问题,最好还是按照原样不要改变Executable file的名称,否则有问题

我推测应该是可以更改的,但是需要重新编译整个工程,没有尝试,还有一些其他的事情处理。

分享,记录。

相关链接

http://stackoverflow.com/questions/11673424/xcode-4-4-unable-to-run-project

http://stackoverflow.com/questions/12540534/xcode-4-5-4g182-iphone-5-ios6-choose-a-destination-with-a-supported-archit

http://www.krunk4ever.com/blog/tag/xcode-4-4-1/

0 0