Closed Hesesses closed 11 months ago
you also need to use --external
so it uses the local IP of the computer, if not, it uses localhost, which won't work on a real device since the live reload server is in your computer, not in your device.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
iOS
Current Behavior
ionic capacitor run ios -l
ionic capacitor run ios
works fine on deviceionic capacitor run ios -l
works fine with simulatorExpected Behavior
ionic capacitor run ios -l
should work on real deviceCode Reproduction
Other Technical Details
npm --version
output: 8.19.4node --version
output: v16.20.1pod --version
output (iOS issues only): 1.14.2macOS: 14.1.1 xcode: 15.0.1 iOS: 17.1.1
Additional Context
output from
ionic capacitor run ios -l