Hello, we are currently getting a permission denied error when calling NEVPNManager saveToPreferences(completionHandler:) on MacOS Sonoma Beta 5 and up only. This seems to be an issue only on an M1 machine, but works fine on Intel and M2 machines.
We haven't made any changes on our end and it was working on all machines on MacOS Sonoma Beta 3 and below.
After upgrading to MacOS Sonoma Beta 5 and up, attempting to call the function results in the permission denied error. We have also verified that the app has the 'Personal VPN' capability.
The exact error we are getting is the following:
Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
I checked the release notes, but couldn't find anything specific to this issue.
Has anyone experienced something similar and/or have any suggestions for any fixes? Thanks in advanced!