In the latest macos system, it seems that location permission is required if you want to obtain wifi information. The error here is whether the positioning permission has not been obtained. But I can't figure out how to give the application location permissions in the system settings...
- Apple changed Sonoma such that getting the wifi name requires Location permission.
- Apple did not change Sonoma such that requesting the wifi name prompts for Location permission.
- Apple has provided no way to manually add Location permission.