m0dch3n / vue-cli-plugin-cordova

Vue Cli 3 Cordova Plugin
MIT License
417 stars 63 forks source link

specifying a device target #102

Closed iKnowMagic closed 4 years ago

iKnowMagic commented 4 years ago

This addresses issue #75 Now the user can type for example:

yarn cordova-serve-ios --target="iPhone-8, 13.3"

To preview in a particular phone target.

To see the available targets, cd to src-cordova and type:

npx ios-sim showdevicetypes > ../targets.txt

The list of available targets will be available in the root directory of the project.

m0dch3n commented 4 years ago

Released in 2.4.0

vesper8 commented 4 years ago

@iKnowMagic does this only work with simulator targets or can it also work with a usb connected iphone ?