1
我已經運行ionic emulate ios
離子IOS-SIM拋出錯誤
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
您是否最近更新了Cordova? 'sudo npm update cordova'和'sudo npm update ios-sim'應該確保它們是最新的。 – 2014-10-29 17:23:35
這就是沒有解決我的問題 – CMP 2014-10-30 08:09:12