A build only device cannot be used to run this target

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

    You are building for Xcode's "Build Only Device", which is compiling the app. for the ARM processor (whereas compiling for the simulator targets the Intel CPU on your Mac.)

    Plug in a device and select it from the active scheme popup, or, select one of the simulators and you should be good to go.

提交回复
热议问题