ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
来源:互联网 发布:中国体育网络电视台 编辑:程序博客网 时间:2024/06/06 17:49
============================================================
博文原创,转载请声明出处
电子咖啡(原id蓝岩)
============================================================
最近在开发中遇到常见问题:
Choose a destination with a supported architecture in order to run on this device.
这是老问题了,以往重启一下xcode等等就可以了,这次死活不行,让我的项目延期了两天了,时好时坏,快疯掉了,今天又遇到,决心彻底解决。
在网上找到说product name和工程名不一致,会有空格,我看着完全一直啊。崩溃,最后检查出来是在名字后面有空格,怎么也看不出来。
下面总结一下遇到上述错误的解决方法:
第一种:
可能你的 valid architectures支持armv7,或者 armv7s,修改一下,如下图:
第二种:
- Close the Xcode
- Delete the application from device
- Restart the device
- then re-run the application
第三种:
如果今天所遇到的问题,检查product name是否和工程名一致(这里可以其实可以不一致),重点检查是否有空格或其它非法字符。
第四种:
cd ~/Library/Developer/Xcode/DerivedData
跳转到这个目录下,清除里面所有缓存的数据:
lsrm -fr *然后重启xocde
- ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- IOS运行错误 -- choose a destination with a supported architecture in order to run on this device
- iOS - Choose a destination with a supported architecture in order to run on this device:
- Choose a destination with a supported architecture in order to run on this device. 模拟器设备问题
- 编译报错:Choose a destination with a supported architecture in order to run on this device
- Choose a destination with a supported architecture in order to run on this system.
- Choose a destination with a supported architecture in order to run on this device
- Choose a destination with a supported architecture in order to run on this device.
- Choose a destination with a supported architecture in order to run on this device.
- Choose a destination with a supported architecture in order to run on this device
- Xcode cannot run using the selected device. Choose a destination with a supported architecture
- xcode cannot run using the selected device choose a destination with a supported architecture
- Choose a destination with a supported architecture in order to run on this device.
- Choose a destination with a supported architecture in order to run on this device.
- Choose a destination with a supported architecture in order to run on this device
- Choose a destination with a supported architecture in order to run on this device.
- sip 100Rel扩展
- GNU工具箱
- SAP 调用smartforms打印如何统计实际打印状态和打印次数
- 【HD视频】-华为北研好极客-Geek
- Java内省机制
- ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- 嵌入式系统概述
- Windows 2003 IIS服务常见故障排查全攻略
- android学习第二课(布局管理)
- 动态加载dll,扩展系统功能
- Fedora安装android开发环境
- 硬盘安装XUBUNTU
- SDL及扩展库在ARM-Linux 完整移植
- Ant Task check if a file exists