When building, I use the "Copy to device" alternative to test on a new iPhone XR, but I keep getting this error message:
ERROR: no USB connected devices detected (if one is attached, try reconnecting it)
When plugged in, the device is recognized by my Mac. I have clicked the "Trust" button at first connection. The device is visible in Xcode -> Devices and the developer setup has been done. I have regenerated the provisioning profile to include this device. I have tried all USB ports on my mac. I use Corona 2018.3449 and iOS 12.1.4
What have I missed?