真机运行报"Please check the connection to the device, and review all errors in the Devices and Simulators window."。
通过导航栏Window->Devices and Simulators 显示以下报错信息。
Failed to prepare device for development.
if youare certain thax xcode supports development on this device, try disconnecting and reconnecting the device
解决办法:重启手机