Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Pfff.... Apple's documentation is too incomplete.

In recent versions the apple events entitlement only works when the program 
also has an NSAppleEventsUsageDescription key in Info.plist with a string value 
that describes why it needs the entitlement, this information is shown to the 
user on first launch.

When I add this key to info.plist and resign the launcher works.

I forgot to create a screenshot of this and cannot recreate the system dialog 
that gets shown, probably documentement somewhere that I haven't found yet...

For now I used:

<key>NSAppleEventsUsageDescription</key>
<string>Python Launcher needs this to run scripts in a Terminal window</string>

This requires no code changes.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40477>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to