Cannot run on the selected destination

mxx764786503 2012-12-27 09:26:22
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 上就可以运行。

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

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

谢谢啊……
...全文
775 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
123806007 2013-09-27
  • 打赏
  • 举报
回复
[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)
WUZONGAN349 2013-03-08
  • 打赏
  • 举报
回复
在项目的Resources目录下找到info.plist,单击该文件,在Xcode右上角点击“Hide or show the Utilities”按钮,出现“Target membership“,把勾去掉。重新运行即可
Snake_Jay 2012-12-27
  • 打赏
  • 举报
回复

里的armv7 或 armv7s去掉试试

29,027

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧