当前位置:编程学习 > wap >>

Cannot run on the selected destination

Cannot run on the selected destination

The selected destination does not support the architecture for which the selected software is built.  Switch to a destination that supports that architecture in order to run the selected software.
TARGET 中的Deployment Target 和PROJECT 中的ios Deployment Target 都设置为 5.0,其他的设置都没有改动,但就是不能在6.0的模拟器上运行,在touch4 上就可以运行。

还有一个非常奇怪的现象就是现在不能运行的工程过一段时间,什么都没有调就可以运行了。

请问这到底是什么问题?
应该怎么解决?

谢谢啊……
--------------------编程问答-------------------- 将
里的armv7 或 armv7s去掉试试 --------------------编程问答-------------------- 在项目的Resources目录下找到info.plist,单击该文件,在Xcode右上角点击“Hide or show the Utilities”按钮,出现“Target membership“,把勾去掉。重新运行即可 --------------------编程问答--------------------
Quote: 引用 2 楼 WUZONGAN349 的回复:


去掉之后就出现了 linked错误:
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_AppDelegate", referenced from:
      objc-class-ref in main.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
补充:移动开发 ,  iPhone
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,