Ion current emulation iOS emulation with error: Device boot timeout.

I am using Ionic and the material below. Ionic maintenance team, iOS add platform and build teams work well.

  • OS: Mac OS X Yosemite
  • Node Version: v0.12.2
  • Cordova CLI: 5.0.0
  • Ionic CLI version: 1.3.22
  • Xcode version: Xcode 6.3.1 Build version 6D1002
  • ios-sim version: 3.1.1
  • ios-deploy version: 1.5.0

Using emulation command starts the iOS emulator but never starts the app, ending with the following error:

Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Timed out waiting for device to boot" UserInfo=0x7fa1240020c0 {NSLocalizedDescription=Timed out waiting for device to boot}
Error code 1 for command: ios-sim with args: launch,/Users/user/Apps/mySide/platforms/ios/build/emulator/mySide.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/user/Apps/mySide/platforms/ios/cordova/console.log,--stdout,/Users/user/Apps/mySide/platforms/ios/cordova/console.log,--exit
Error: /Users/user/Apps/mySide/platforms/ios/cordova/run: Command failed with exit code 2
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131: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)

      

Research on this raised this question: Ionic ios emulator: Session could not be started , which led me to a workaround bringing my project to Xcode and emulating it there, which works. It's also worth noting that the error message is different in both questions.

So my question is to actually use (fix) the ionic command ionic emulate ios

to emulate my iOS app; any clarification as to why this is happening would be much appreciated as well.

+3


source to share


1 answer


Installing a newer version of the Ionic CLI worked for me. Take a look at this thread . Use the main Github branch.



0


source







All Articles