title: Emulate iOS with ionic, current emulation fails with error: Timed out waiting for device to boot.
body: <p>I'm using Ionic and the stuff below. Ionic's serve command, the iOS add platform and build commands work well.</p>
  
  <ul>
  <li>OS: Mac OS X Yosemite </li>
  <li>Node Version: v0.12.2 </li>
  <li>Cordova CLI: 5.0.0 </li>
  <li>Ionic CLI Version: 1.3.22 </li>
  <li>Xcode version: Xcode 6.3.1 Build version 6D1002 </li>
  <li>ios-sim version: 3.1.1  </li>
  <li>ios-deploy version: 1.5.0</li>
  </ul>
  
  <p>When using the emulation command the iOS emulator starts up but never launches the app ending in the following error:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>Research on this subject brought up this question: <a href="https://stackoverflow.com/questions/28800841/ionic-emulate-ios-session-could-not-be-started">Ionic emulate ios: Session could not be started</a>, which led me to a workaround migrating my project to Xcode and emulating it there which does work. Its also worth noting that the error message is different in both questions. </p>
  
  <p>So my question is about actually using (fixing) ionic's <code>ionic emulate ios</code> command to emulate my iOS app; any clarification on why this is happening will also be much appreciated.</p>