调试程序时,弹出Xcode cannot run using the selected device

解决方案:
模拟器调试:


真机调试:
1) Project->Info->Deployment Target->iOS Deployment Target更改为<=设备的版本号;
2) Target->Summary->iOS Application Target->Deployment Target更改<=设备的版本号;

From http://www.cocoachina.com/bbs/read.php?tid=77356

你可能感兴趣的:(ios)