A build only device cannot be used to run this target

后端 未结 21 2352
情深已故
情深已故 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 10:06

    I tried almost anything above, including restarting XCode, none of them worked for me. I solved this problem by simply restarting my Mac. Yes, the classic solution.

    A side note: This problem occurred to my XCode after it requested my Mac password from me, probably after an automatic upgrade.

提交回复
热议问题