ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
2014-03-10 17:06
645 查看
Choose
a destination with a supported architecture in order to run on this device
第一种:
可能你的 valid architectures支持armv7,或者 armv7s,修改一下,如下图:第二种:
Close the XcodeDelete the application from device
Restart the device
then re-run the application
第三种:
如果今天所遇到的问题,检查product name是否和工程名一致(这里可以其实可以不一致),重点检查是否有空格或其它非法字符。第四种:
[cpp] viewplaincopyprint?
cd ~/Library/Developer/Xcode/DerivedData
跳转到这个目录下,清除里面所有缓存的数据:
[cpp] view
plaincopyprint?
ls
rm -fr *
然后重启xocde
第五种:设置编辑器
相关文章推荐
- ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- iOS 编译正常,但无法运行到真机和模拟器上,Choose a destination with a supported architecture in order to run on this device.
- ios开发答疑录系列---ios编译正常,但无法运行到真机和模拟器上 ,Choose a destination with a supported architecture
- 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
- 解决Xcode 编译正常(build 成功)模拟器和真机却无法运行
- 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 device. 分类: 技术
- 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
- 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
- 模拟器运行正常,真机报错:clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Choose a destination with a supported architecture in order to run on this device