Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not signal service com.apple.WebKit.WebContent

I use the Shopify Mobile Buy SDK for iOS and I can't get a callback from their payment web view. For some reason the warnings:

2016-11-25 21:17:25.945267 Drool[3328:799969] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service  2016-11-25 21:17:25.977316 Drool[3328:799969] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service  2016-11-25 21:17:26.105947 Drool[3328:799969] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction 

keep showing up and I have no idea why this is happening and if this is the cause of this problem, do any of you know what this is?

like image 941
Martin Kjellberg Avatar asked Nov 25 '16 20:11

Martin Kjellberg


People also ask

What is COM Apple WebKit?

WebKit (pronounced "web kit") is a browser engine developed by Apple and primarily used in its Safari web browser, as well as all iOS web browsers.

What is WKWebView?

A WKWebView object is a platform-native view that you use to incorporate web content seamlessly into your app's UI. A web view supports a full web-browsing experience, and presents HTML, CSS, and JavaScript content alongside your app's native views.


2 Answers

You may need to allow for App Transport Security to access the resource. Try modifying your app's Info.plist as described here.

like image 122
Mark Leonard Avatar answered Sep 28 '22 05:09

Mark Leonard


if this issue occurs on a sim for anybody, I think it's an issue with JSON parsing in the cache of the xcode simulators. Solved by "In the simulator, choose iOS Simulator > Reset Content and Settings". A more complete solution can be found here https://gist.github.com/riosc/4539602

like image 37
Kevin Ryan Avatar answered Sep 28 '22 04:09

Kevin Ryan