Hello,
I have a .app that runs as LaunchDaemon and configured to be an Agent (LSUIElement) that is stored in /Applications.
Installing network extensions works, but deactivation fails with OSSystemExtensionErrorDomain error 13 (authorization required).
requestNeedsUserApproval is not called for deactivation, but it's called when being activated.
Any ideas? Thank you!
P.S. It works on Debug, just not on Release...