This command will return a list, something like this: iPhone-4s, 8.4 However, to find out what the available emulations are I run this: ios-sim showdevicetypes To start the emulator with a specific OS use: ionic cordova emulate ios -target "iPhone-X"įor an older installation of Ionic and Cordova I used the syntax mentioned in RipTheJacker's answer to select the device to emulate, ie: ionic emulate ios -target="iPhone-4s" The following commands have been tested with Ionic v3.20.0 and Cordova 8.0.0: ionic cordova emulate -list # List any OSĬordova run ios -list # List specific OSĪnd they yield something like: Available ios virtual devices: With later versions of Ionic and Cordova one can use any of the following commands to list available emulations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |