Hello!
Is it possible to add location permissions to a macOS system extension?
We have a network firewall system extension that also considers WIFI connections in its rules. With the release of Sonoma, interface information is only accessible while having location permissions, which we are having trouble asking for.
We have the entitlements, the usage description, but the authorizationStatus
of CLLocationManager
stays at .notDetermined
and no window for location permission pops up after calling requestAlwaysAuthorization()
.
What we need is to get the SSID of the network that the interface is connected, its security and encryption type. If the permission is not possible, is there a workaround?
Cheers