Cordova: start specific iOS emulator image

前端 未结 10 2305
暗喜
暗喜 2020-12-07 07:07

I\'m developing a cross-platform mobile app using Cordova, focussing mainly on iOS in the development stage.

For my development process it would be ideal if I could

10条回答
  •  难免孤独
    2020-12-07 07:36

    As of Xcode 8.3.2...

    Old thread, I know, but it seems, perhaps, that the answer has changed slightly. The hints from earlier posts in this thread helped, but so did reading the documentation included in the code, /platforms/ios/cordova/lib/run.js

    Execute ./platforms/ios/cordova/lib/list-emulator-images to list the available emulator images. Do not include the version number on the end when making the cordova call to run in the desired emulator.

    cordova run ios --emulator --target="iPad-Air"
    

    See more

提交回复
热议问题