Your app requests admin access for keystrokes.

When I use Unity to package a game and submit a Mac app review after signing notarized, the prompt app is rejected.

Guideline 2.4.5(v) - Performance

Your app requests admin access for keystrokes.

Resources An informational video concerning requesting access from users is available from our WWDC 2019 conference. See the Advances in macOS Security video.

And comes with a screenshot similar to:

Keystroke Receiving

"xxxx" would like to receive keystrokes from any

application.

Grant access to this application in Security & Privacy

perferences,located in System Preferences.

Open System Preferences Deny


I don't know how to modify or what permissions need to be added, and anyone has a similar problem?

The system environment I use: MacOS 10.15, Xcode 11.1, Unity 2018.4.5f1

Replies

This is pretty thoroughly explained in WWDC 2019 Session 701 Advances in macOS Security, under the heading of keyboard input monitoring. Of course, that explanation is in terms of the native macOS API (

CGEventTap
), and you’re using a third-party development environment which, presumably, isolates you from the native APIs. You’ll need to learn how to dig through those layers to work out what’s triggering this usage. If you need help with that, you’ll probably get more traction from a support channel dedicated to that third-party development environment.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"