This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients AegisEmerald545, Auerhahn, TotallyLost, ned.deily, nicholasjbond2020, ronaldoussoren
Date 2021-12-12.13:57:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639317433.83.0.876750778397.issue40477@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-12-12 13:57:13ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, Auerhahn, TotallyLost, nicholasjbond2020, AegisEmerald545
2021-12-12 13:57:13ronaldoussorensetmessageid: <1639317433.83.0.876750778397.issue40477@roundup.psfhosted.org>
2021-12-12 13:57:13ronaldoussorenlinkissue40477 messages
2021-12-12 13:57:13ronaldoussorencreate