运行ionic emulate ios
2014-10-29 10:21:52.540 ios-sim[1992:507] stderrPath: /Users/***/Desktop/apps/myApp/platforms/ios/cordova/console.log
2014-10-29 10:21:52.541 ios-sim[1992:507] stdoutPath: /Users/***/Desktop/apps/myApp/platforms/ios/cordova/console.log
Usage of '--family' is deprecated in 3.x. Use --devicetypeid instead.
Usage of '--retina' is deprecated in 3.x. Use --devicetypeid instead.
Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7f9b09709470 {NSLocalizedDescription=Simulator session timed out.}
Error: /Users/***/Desktop/apps/myApp/platforms/ios/cordova/run: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process
.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
当我升级到xcode 6
时,这种情况就开始发生了答案 0 :(得分:0)
无法启动会话:错误 Domain = DTiPhoneSimulatorErrorDomain Code = 2"模拟器会话定时 出&#34。 UserInfo = 0x7f9b09709470 {NSLocalizedDescription = Simulator 会议超时。}
此错误表示Xcode(或打印错误的任何内容)正在等待iOS Simulator.app启动并启动特定的模拟器设备,但它从未收到模拟设备完成启动的通知。
尝试在ssh会话或LaunchDaemon中运行时已经报告过类似的问题(但是你应该能够从LaunchAgent中做到这一点)。