Enumeration Caseswift-package-manager 6.0.1PackageDescription
allowNetworkConnections(scope:reason:)
Create a permission to make network connections.
Target.swift:1466- SwiftPM
- 5.9+
case allowNetworkConnections(scope: PluginNetworkPermissionScope, reason: String)
Parameters
The command plug-in requires permission to make network connections. The reason
string is shown to the user at the time of request for approval, explaining why the plug-in is requesting access.
See also
case writeToPackageDirectory(reason: String)
Create a permission to modify files in the package’s directory.