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

Posted on Oct 17, 2019 1:19 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Input Monitoring Permission

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.