Ionic-cli run task: set device of simulator

Don’t suppose anyone has discovered the settings to enable the iOS emulator to run in iPhone 6/6 Plus mode? I’ve tried a few things i.e running ios-sim directly using the --devicetypeid iPhone-6:-

ios-sim launch “app path here” --devicetypeid iPhone-6

But it still opens in iPhone 4S mode (default I guess).

I’ve also tried:-

cordova emulate ios --target=“iPhone-6”

Which didn’t work and bought up a message:-

‘Usage of ‘–family’ is deprecated in 3.x. Use --devicetypeid instead.’
‘Usage of ‘–retina’ is deprecated in 3.x. Use --devicetypeid instead.’

I’m running:
ios-sim - version 3.0.0
cordova - version 3.6.3-0.2.13
ionic - version 1.2.5

Cheers for any pointers

1 Like