ios-control / ios-sim

Command-line application launcher for the iOS Simulator
Apache License 2.0
1.49k stars 253 forks source link

ios-sim showdevicetypes does not list all targets #183

Closed MSLaguana closed 8 years ago

MSLaguana commented 8 years ago

When I run ios-sim showdevicetypes I get the following output

iPhone-6-Plus, 8.1 iPhone-6-Plus, 8.4 iPhone-6-Plus, 9.0 Cannot read property 'replace' of undefined

This happens using either ios-sim 5.0.2 or 4.1.1

Looks like if I run sudo ios-sim showdevicetypes then it works properly, but not if I run without elevated privileges. I also tried running xcrun simctl list directly, and that works without issue and I can use the device IDs reported there as arguments to ios-sim start --devicetypeid successfully as well.