Regardless of --target
variable, the following commands fail:
ionic cordova run ios --target="iPhone-X"
ionic cordova run ios --target="iPhone 12"
ionic cordova emulate ios --debug --target="iPhone 11" -- --buildFlag="-UseModernBuildSystem=0"
The error is:
[native-run] ERR_DEVICE_LOCKED: Device still locked after 1 minute. Aborting.
[ERROR] An error occurred while running subprocess native-run.
It's happening after I switched to Apple Silicon (M1) MacBook Pro, but I'm not 100% sure. Thanks!