我将下面一行放在.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>