儘量模仿我試着開始使用離子但是當我與'離子模擬內部監督辦公室的模擬控制檯顯示此 問題:的Xcode-β錯誤時,離子
No target specified for emulator. Deploying to iPhone-6 simulator
2015-06-19 10:07:59.674 ios-sim[771:9114] stderrPath: /Users/damivazbien/myApp/platforms/ios/cordova/console.log
2015-06-19 10:07:59.674 ios-sim[771:9114] stdoutPath: /Users/damivazbien/myApp/platforms/ios/cordova/console.log
2015-06-19 10:08:00.753 ios-sim[771:9114] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-8114.19/DVTFoundation/PlugInArchitecture/PlugInManager/DVTPlugInManager.m:257
Details: Requested but did not find extension point with identifier Xcode.DVTFoundation.DevicePlatformMapping
Object: <DVTPlugInManager: 0x7fe8faca4b50>
Method: -extensionPointWithIdentifier:
Thread: <NSThread: 0x7fe8fac105e0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Timed out waiting for device to boot" UserInfo=0x7fe8fad0c7a0 {NSLocalizedDescription=Timed out waiting for device to boot}
Error code 1 for command: ios-sim with args: launch,/Users/damivazbien/myApp/platforms/ios/build/emulator/myApp.app,-- devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,-- stderr,/Users/damivazbien/myApp/platforms/ios/cordova/console.log,-- stdout,/Users/damivazbien/myApp/platforms/ios/cordova/console.log,--exit
Error: /Users/damivazbien/myApp/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:134:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5)
現在我已經安裝最後的Xcode測試版
這是安裝OSX 10.11測試版可能OP,這意味着OP只能運行Xcode 7 beta,Xcode 6與El Capitan不兼容。我做了同樣的事情,並在RubyMotion中收到同樣的錯誤。 – Jurgen
發現我可以暫時將以下內容添加到RubyMotion的Rakefile中:'app.info_plist ['NSAppTransportSecurity'] = {'NSAllowsArbitraryLoads'=> true}'。必須記住做正確的事情,併爲生產構建info.plist添加適當的例外。 – Jurgen