首页 > 代码库 > iOS Xcode cannot run using the selected device.

iOS Xcode cannot run using the selected device.

前几天我也写过一个类似的帖子iOS 编译正常,但无法运行到真机和模拟器上,Choose a destination with a supported architecture in order to run on this device.

,怎么解决找不到模拟器的问题,但是我今天遇到了同样的问题发现无法解决

于是又有了新的解决办法

1、 设置Valid Architectures : armv7,armv7s

2、 Project ---> Build Settings ---> Build Options中设置compiler for c/c++。。as LLVM

iOS Xcode cannot run using the selected device.