Ionic emulate ios --target="..." not working after Cli update

Hi,

After updating Ionic CLI yesterday I cant use
ionic emulate ios --target="iPad-Retina"

I have change the device type and it doesnt matter which device I pick. The following error will occur:
Device type "com.apple.CoreSimulator.SimDeviceType."iPad-Retina"" could not be found.

I have tested
cordova emulate ios --target="iPad-Retina"

And this works fine.

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v5.6.0
Xcode version: Xcode 8.0 Build version 8A218a

After a Ionic downgrade it works fine again.
sudo npm install -g ionic@2.1.10

Github thread:

1 Like

Thank you so much for this fix. Spent so long thinking it was a problem with something I did when I downloaded the Cli on a new MacBook. Never thought to even check that it was a failure in the most recent Cli. Wasted hours before finding this thread though haha