I would like to use the included ./emulator command with Cordova/PhoneGap to run my app in the iPad simulator from the command line.
The basic instructions are here:
I've installed the iOS simulator from here:
The documentation says it supports simulating an iPad from the command line. However, it opens by default to iPhone and changing the device to "iPad" closes the app (and it is not installed on the home screen). I've searched but can't find documentation to launch to simulate an iPad.
How do I run the Cordova ./emulator command to open to iPad?
It may be that you were using an old version of phonegap/cordova, but in version 3.4 the following works for me:
cordova emulate ios --target="iPad"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With