A build only device cannot be used to run this target

后端 未结 21 2605
情深已故
情深已故 2020-12-25 09:25

I get this error when I trying to test an app.

A build only device cannot be used to run this target.

No supported iOS devices are available

21条回答
  •  悲哀的现实
    2020-12-25 09:45

    In my case this happened, when I selected a Generic iOS device and tried to "build" in order to publish it to the AppStore.
    But I should have selected Product -> Archive instead

提交回复
热议问题