A build only device cannot be used to run this target

后端 未结 21 2559
情深已故
情深已故 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:42

    With XCode 8.3.2 I had this error message after I tried to run the app on a locked device. I unlocked and reattached as requested but the "A build only device cannot be used to run this target." message appeared.

    I simply changed the target to a simulator and changed it back - it resolved my issue.

提交回复
热议问题