info.plist 中的网络身份验证

network-authentication in info.plist

我在将构建上传到 TestFlight 时遇到了这个问题。我的开发门户中有苹果的授权。请帮助

Missing Code Signing Entitlement. Use of the 'network-authentication' background mode in 'Payload/FreeWifive.app/FreeWifive' requires either the 'com.apple.developer.CaptiveNetworkPlugin' or 'com.apple.developer.networking.HotspotHelper' entitlement.

将此添加到您的权利文件应该会给您适当的权利:

<key>com.apple.developer.networking.HotspotHelper</key>
<true/>