Hi,
M1 - Mac OS 12.0.1.
I am simulating keyboard events targeted to Logic Pro by posting CgEvents.
This works when I launch my app executing the script that is set as the executable for the app within the info.plist (CFBundleExecutable) on the command line, but not when I double click on the app to open it.
I have enabled the app within Privacy & Security > Accessibility > MyApp.app. I've also deleted the accessibility setting, and the app, rebuilt and reenabled to no effect.
In contrast, as the app uses the network, if I enable the Firewall, I'll get an Allow Request. If I disable the Firewall, the Allow Request doesn't show.
I realise that to ship I need to do the code sign/notarize dance, but I'd expect to get a similar prompt as per the Firewall permissions when running on my development machine, and be able to authorise the sending of keystrokes.
Any help very much appreciated!
Thanks,
Stew
9
0
2.7k