Xcode cannot run using the selected device

前端 未结 10 1245
刺人心
刺人心 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:32

    Check that the Executable File (also known as CFBundleExecutable) in the Info.plist file is set to ${EXECUTABLE_NAME} as opposed to any hardcoded value. This will ensure that even if you change your project name or target name or scheme name, that it still works.

提交回复
热议问题