Choose a destination with a supported architecture in order to run on this device.
2014-04-19 09:55
363 查看
通常出现这个问题的原因是以前的老项目在新版本的xcode中打开时会出现为这个问题。
郁闷了一段时间, 在网上也没有找到合适的解决方案, 后来发现其实是这个提示过于误导。大部分人看到这个提示,立马会想到可能是architecture设置成不对,但不管怎么去修改,这个错误还是会存在。
其实只要把编译器改成现在的LLVM即可。 修改位置Project->Build Settings -> Build Options->Compiler for c/c++/Objective-C -> Default compiler(Apple Llvm 5.0).
郁闷了一段时间, 在网上也没有找到合适的解决方案, 后来发现其实是这个提示过于误导。大部分人看到这个提示,立马会想到可能是architecture设置成不对,但不管怎么去修改,这个错误还是会存在。
其实只要把编译器改成现在的LLVM即可。 修改位置Project->Build Settings -> Build Options->Compiler for c/c++/Objective-C -> Default compiler(Apple Llvm 5.0).
相关文章推荐
- 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. 模拟器设备问题
- 编译报错: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
- 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 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. 分类: 技术