无法在Xcode上配置ServiceWorker以在wkwebview上运行

时间:2018-10-24 09:37:53

标签: ios service-worker wkwebview

我将下面一行放在.entitlements中,但xcode无法构建(我遵循Service Workers unavailable in WKWebView in iOS 11.3中的指南)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>aps-environment</key>
    <string>development</string>
    <key>com.apple.security.application-groups</key>
    <array>
        <string>group.vn.com.vng.zalopay.simsb</string>
    </array>
    <key>com.apple.developer.WebKit.ServiceWorkers</key>
    <true/>
</dict>
</plist>

我捕获了错误,请在附件图像上看到错误 enter image description here

0 个答案:

没有答案