Xcode cannot run using the selected device after upgrade

Please follow below step

1>Go to Project Build setting

2>Change compiler for c/c++/objective c as Default compiler(Apple LLVM 5.0) (see in below image)

enter image description here

原文地址:https://www.cnblogs.com/zsw-1993/p/4879418.html