Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Run and emulate ios with live reload not working in iOS9

$
0
0

@zarko When I do ionic emulate -slc ios it never prints anything on the console, never requests any files, and the emulator just spins on my launch screen.

If I then run from Xcode after doing a -l so that the build is still configured to use live reload, I get this output in the logs (I've enabled the "VerboseLog" in CDVWebViewDelegate.m):

2015-09-21 16:16:23.866 OpenNMS[23071:338161] Apache Cordova native platform version 3.9.1 is starting.
2015-09-21 16:16:23.867 OpenNMS[23071:338161] Multi-tasking -> Device: YES, App: YES
2015-09-21 16:16:23.868 OpenNMS[23071:338161] Unlimited access to network resources
2015-09-21 16:16:23.912 OpenNMS[23071:338161] [CDVTimer][keyboard] 0.069022ms
2015-09-21 16:16:23.913 OpenNMS[23071:338161] [CDVTimer][admob] 0.760019ms
2015-09-21 16:16:23.919 OpenNMS[23071:338161] [CDVTimer][file] 5.910993ms
2015-09-21 16:16:23.999 OpenNMS[23071:338161] [CDVTimer][splashscreen] 79.474986ms
2015-09-21 16:16:24.003 OpenNMS[23071:338161] [CDVTimer][statusbar] 3.602982ms
2015-09-21 16:16:24.003 OpenNMS[23071:338161] [CDVTimer][TotalPluginStartup] 90.894997ms
2015-09-21 16:16:24.022 OpenNMS[23071:338161] -canOpenURL: failed for URL: "itms-books://" - error: "This app is not allowed to query for scheme itms-books"
2015-09-21 16:16:24.022 OpenNMS[23071:338161] -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme kindle"
2015-09-21 16:16:24.048 OpenNMS[23071:338161] webView shouldLoad=1 (before) state=0 loadCount=-1 URL=http://172.20.1.118:8100/
2015-09-21 16:16:54.262 OpenNMS[23071:338161] webView shouldLoad=1 (after) isTopLevelNavigation=1 state=1 loadCount=0
2015-09-21 16:17:11.005 OpenNMS[23071:338161] webView didStartLoad (before). state=1 loadCount=0
2015-09-21 16:17:11.005 OpenNMS[23071:338161] webView didStartLoad (after). state=2 loadCount=1 fireCallback=1
2015-09-21 16:17:11.005 OpenNMS[23071:338161] Resetting plugins due to page load.
2015-09-21 16:17:17.790 OpenNMS[23071:338422] void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
2015-09-21 16:17:17.799 OpenNMS[23071:338161] webView didFailLoad (before). state=2 loadCount=1
2015-09-21 16:17:17.799 OpenNMS[23071:338161] webView didFailLoad (after). state=0 loadCount=-1, fireCallback=1
2015-09-21 16:17:17.808 OpenNMS[23071:338161] Failed to load webpage with error: The operation couldn’t be completed. No such file or directory

I can confirm that the NSAppTransportSecurity entry is correct in the .plist file (it's being added by https://github.com/mhartington/cordova-config-utils which Mike Hartington pointed me to on Slack and seems to work swimmingly). Even with that, I never get much in the way of output. Trying to debug where it's actually failing drops me into assembler outside of Cordova's stuff that I can't follow.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>