簡體   English   中英

無法發出com.apple.WebKit.WebContent服務信號

[英]Could not signal service com.apple.WebKit.WebContent

我使用適用於iOS的Shopify移動購買SDK,我無法從其付款網絡視圖中獲得回調。 由於某種原因警告:

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

繼續出現,我不知道為什么會這樣,如果這是這個問題的原因,你們中的任何人都知道這是什么嗎?

您可能需要允許App Transport Security訪問該資源。 嘗試按照此處的說明修改應用的Info.plist

為cookie屬性@"HttpOnly"設置值@"false" @"HttpOnly" ,如下所示:

 NSHTTPCookie *cookieWID = [NSHTTPCookie cookieWithProperties:[NSDictionary dictionaryWithObjectsAndKeys:
                             @"wid" ,NSHTTPCookieName, 
                             WID,NSHTTPCookieValue,
                             @"www.google.com",NSHTTPCookieDomain,
                             @"",NSHTTPCookiePath,
                             @"false",@"HttpOnly",
                             nil]];

如果在任何人的SIM卡上出現此問題,我認為這是在xcode模擬器的緩存中進行JSON解析的問題。 解決方法“在模擬器中,選擇iOS模擬器>重置內容和設置”。 可以在https://gist.github.com/riosc/4539602找到更完整的解決方案

我有類似的問題,只出現在iOS 10.2上,這是非常糟糕的。 html無法接收我通過使用cookie的值

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM