Xcode cannot run using the selected device

前端 未结 10 1247
刺人心
刺人心 2021-01-04 11:51

I am receiving the following error when I try to run my Xcode iOS project:

Xcode cannot run using the selected device. Choose a destination with a supported          


        
相关标签:
10条回答
  • 2021-01-04 12:41

    Target -> Build Settings -> Build Options set the "Compiler for C/C++/Objective-C" - "Default compiler (Apple LLVM 5.0)" and the issue will be solved

    0 讨论(0)
  • 2021-01-04 12:41

    I solved by rebooting mac (also have rebooted iPad)

    0 讨论(0)
  • 2021-01-04 12:42

    I had this error when trying to test my app. Here's what worked for me:

    In Targets > Build Settings, I changed the Product Name to match the Target name and this fixed it for me.

    0 讨论(0)
  • 2021-01-04 12:50

    I found the error was because of unsupported compiler in building settings. Check Project Building Settings --> Build Options --> Compiler for C/C++/Objective-C. Change to "Default compiler (Apple LLVM 5.0)". Everything is OK.

    0 讨论(0)
提交回复
热议问题