It’s working for me as well rather than updating Info.plist file. No need to delete any emulator, but I wonder if it is possible to set a default device/iOS version to emulate or set the right device/iOS version when emulating with livereload.
So far, listing the devices in my system (OSX 10.10.5
) I get:
iPhone-4s, 8.4
iPhone-4s, 9.1
iPhone-5, 8.4
iPhone-5, 9.1
iPhone-5s, 8.4
iPhone-5s, 9.1
iPhone-6, 8.4
iPhone-6, 9.1
iPhone-6-Plus, 8.4
iPhone-6-Plus, 9.1
iPad-2, 8.4
iPad-2, 9.1
iPad-Retina, 8.4
iPad-Retina, 9.1
iPad-Air, 8.4
iPad-Air, 9.1
iPhone-6s, 9.1
iPhone-6s-Plus, 9.1
iPad-Air-2, 9.1
iPad-Pro, 9.1
Apple-TV-1080p, tvOS 9.0
Apple-Watch-38mm, watchOS 2.0
But, if in fact I can successfully run ionic emulate -l -c --target='iPhone-5s' --debug ios
, then changing from 9.1 to 8.4 emulator iOS version, running ionic emulate -l -c --target='iPhone-5s, 8.4' --debug ios
outs:
(...)
Running command: /Users/telekosmos/DevOps/phonegap/lodashdb/platforms/ios/cordova/run --emulator --debug "--target=iPhone-5s, 8.4"
iPhone-5s, 8.4 is not a valid target for emulator
Error: /Users/telekosmos/DevOps/phonegap/lodashdb/platforms/ios/cordova/run: Command failed with exit code 2
at ChildProcess.whenDone (/Users/telekosmos/.nvm/versions/node/v0.12.7/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
(...)
Any chance to set the version along with the device?
Cheers!