ios-control / ios-sim

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

ios simulator doesn't work anymore with Xcode 8 #196

Closed moletteg closed 8 years ago

moletteg commented 8 years ago

Hello everyone; I encounter an issue when i launch the ios -simulator on Xcode. The simulator doesn't open anymore and i get the error message : "Failed to find class DTiPhoneSimulatorSystemRoot at runtime." Do you guys know what i have to do to fix this problem ? thanks for your help.

luciocosmo commented 8 years ago

Same problems in our project. We're following conversation waiting a fix.

einsty commented 8 years ago

This may not be for everyone, but, I re-installed ios-sim with sudo npm i ios-sim -g. It complained about there already being software at the location and to move it out of the way... I did, and then re-ran the install and that resolved my issue...

SuyashLakhotia commented 8 years ago

+1

christophermiles commented 8 years ago

+1

Overload119 commented 8 years ago

@einsty trick worked, also it seems you have to specify the devicetype ID now,

ios-sim start --devicetypeid iPhone-5s should do the trick.

shazron commented 8 years ago

When you launch ios-sim start it should put out a warning that you did not specify devicetypeid (ios-sim 5.0.8)

MayankLogiciel commented 7 years ago

I updated ios-sim version to 5.0.13(latest) and everything started working

Step 1 : sudo npm install -g ios-sim

Step 2:ios-sim launch YourApp.app --devicetypeid iPhone-5s

LeonXtp commented 7 years ago

@MayankLogiciel your answer works fine!