Input Monitoring Permission
Hi,
Apple release macOS 10.15 last week, My macOS app get libsystem_kernel exception on Mac 10.15.
My app needs to list USB HID devices, and it crashes when it calls macOS IOHIDManagerCopyDevices function.
The root cause is macOS 10.15 add ‘input monitoring’ privacy. App only can be used when user grant privacy permission in “Security & Privacy” setting.
The "Input Monitoring" in “Security & Privacy” setting is "Privacy_ListenEvent".
How can I set "Privacy_ListenEvent" in info.plist in Xcode to bundle my App with "Input Monitoring" permission inside ?
Thanks,
Yiming
MacBook