I'm working on a command line tool that uses the Accessibility APIs on macOS. Running inside Xcode works fine, but directly from the command line I still get false
from AXIsProcessTrustedWithOptions
, even though the switch in System Settings is turned on.
The binary is signed with a Developer ID certificate.
What else should I look at to debug?