Skip to content

Instantly share code, notes, and snippets.

@jdnichollsc
Last active April 12, 2019 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdnichollsc/5932e56580f1d05d18327e26b89bffe6 to your computer and use it in GitHub Desktop.
Save jdnichollsc/5932e56580f1d05d18327e26b89bffe6 to your computer and use it in GitHub Desktop.
Cordova commands
  • Available ios virtual devices: cordova run ios --list --emulator

  • Available iOS Simulators: cordova emulate ios --list

  • List the available device types: ios-sim showdevicetypes

  • Build in Legacy Mode:

cordova build ios --buildFlag='-UseModernBuildSystem=0'
cordova run ios --debug --target "iPhone-X" --buildFlag='-UseModernBuildSystem=0'
  • Cordova build:
cordova platform add ios
cordova platform update ios
cordova build ios
cordova run ios
  • Update www folder cordova prepare ios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment