ionic-team / ionic-cli

The Ionic command-line interface
MIT License
2k stars 645 forks source link

ionic emulate --livereload ios not working after latest Apple updates #605

Closed mirkonasato closed 8 years ago

mirkonasato commented 8 years ago

See http://forum.ionicframework.com/t/live-reload-error-failed-to-load-webpage-with-error/32831/4

tlancina commented 8 years ago

Comparing the config.xml from cordova create vs ionic start it looks like our default could use an update to be more whitelist friendly. Probably related to https://github.com/driftyco/ionic-cli/issues/725, but either way I've opened an issue to take a look into it: https://github.com/driftyco/ionic-cli/issues/811

cindymarie commented 8 years ago

I just changed the property of my project's root folder by unchecking the 'Read Only' option. Then run ionic serve again. Live reload is now working.

jlno commented 7 years ago
  1. Add into config.xml: <allow-intent href="*"/> <allow-navigation href="*"/>
  2. ionic platform rm ios
  3. ionic platform add ios
  4. ionic build ios
  5. ionic emulate ios -l
biamacedo commented 7 years ago

After reading and trying all solutions, @jlno 's first step solved it for me:

  1. Add into config.xml: <allow-intent href="*"/> <allow-navigation href="*"/>
ishan123456789 commented 6 years ago

Use ionic cordova run --livereload ios