Xcode beta error while trying to emulate using Ionic

I'm trying to get started with Ionic, but when I emulate the “ionic ios emulator”, the console will show me this Question:

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)

Now I installed the latest beta version of Xcode

+4
source share
2 answers

Have you checked the data in the stderr logs?

%project_name%/platforms/ios/cordova/console.log

If you are using the ios9 emulator and see a white screen, you may have encountered a problem that ios9 used to use https.

The dirty way is to simply update the xcode configuration configuration to disable ATS

platforms/ios/%project_name%/%project_name%-Info.plist 

You can disable Apple Transport protection by adding this to the configuration file

<key>NSAppTransportSecurity</key>
<dict>
  <key>NSAllowsArbitraryLoads</key>
  <true/>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
+2
source

Xamarin Studio Xcode 7 SDK. Xcode 6.3.2 , , Ionic - Xcode 7?

, , , , , , .

0

All Articles