Hi,
I’m trying to run an ionic v3 app on iphone 8 Plus. I use the command:
ionic cordova run ios --livereload
[native-run ios --app "platforms/ios/build/device/MyApp.ipa" --device --forward 8100:8100 --forward 35729:35729 --forward 53703:53703
[native-run] RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 111. Received 112
[native-run] at boundsError (internal/buffer.js:49:9)
[native-run] at writeU_Int8 (internal/buffer.js:558:5)
[native-run] at Buffer.writeUInt8 (internal/buffer.js:565:10)
[native-run] at toCString (/usr/local/lib/node_modules/native-run/node_modules/node-ioslib/dist/client/afc.js:150:9)
[native-run] at AFCClient.openFile (/usr/local/lib/node_modules/native-run/node_modules/node-ioslib/dist/client/afc.js:50:9)
[native-run] at AFCClient.uploadFile (/usr/local/lib/node_modules/native-run/node_modules/node-ioslib/dist/client/afc.js:69:24)
[ERROR] An error occurred while running subprocess native-run.
native-run ios --app "platforms/ios/build/device/MyApp.ip... exited with exit code 1.
I receive the same error even if I don’t have livereload. I run also:
native-run ios --app “platforms/ios/build/device/MyApp.ipa” --device --connect --forward 8100:8100 --verbose
and I get a similar output.
I have used both nodejs 10.15.3 and 10.16.0