在macos文件夹的Runner目录下面找到DebugProfile.entitlements
和Release.entitlements
文件在里面添加
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
在macos文件夹的Runner目录下面找到DebugProfile.entitlements
和Release.entitlements
文件在里面添加
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>