Livereload on iOS device (ionic cordova run ios -l) with ionic 4 does not seem to work. It stuck at the initial loading at splash screen. I've tried with fresh project right after ionic start **** blank, it still does not work.
livereload on browser (ionic serve) and emulator (ionic cordova emulate ios -l) works fine.
ionic info:
Ionic:
ionic (Ionic CLI) : 4.0.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11
Cordova:
cordova (Cordova CLI) : 7.1.0
Cordova Platforms : ios 4.5.5
System:
ios-deploy : 2.0.0
NodeJS : v8.11.3 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000
Device info:
iphone X, iOS 11.4 (15F79)
does anyone have a clue of how to fix this?
Thank you
Remember ionic serve ? That was Live Reload working in the browser, allowing us to iterate quickly. We can also use it when developing on iOS and Android devices.
If you already have an Ionic project with Capacitor integrated, just run npx cap open to open Android Studio, and with a device plugged, do Run -> Run 'app' or click the green triangle button. Save this answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With