Python signature not valid in packaged app on Macosx

12 views
Skip to first unread message

Michael O'Donnell

unread,
Oct 8, 2020, 6:04:58 AM10/8/20
to PyInstaller
Hi all,

   Just asking here in case anyone knows off the top of their heads the solution to a problem I have.

Using Python 3.8.6 and Pyinstaller 4.1.dev0 on Macosx 10.15.7 (Catalina)

My application packages ok, but it when I click on the app to run it, noting happens at all. When I check the console log, I see the problem seems to be:

/Users/michaelj.odonnell/Desktop/RECENT/UAMCT/UAMCT-OU/UAMCT-OU-50o/dist/UAMCorpusTool5.app/Contents/MacOS/Python signature not valid: -67030

AMFI: Check-fix enabled for binary '/Users/michaelj.odonnell/Desktop/RECENT/UAMCT/UAMCT-OU/UAMCT-OU-50o/dist/UAMCorpusTool5.app/Contents/MacOS/Python' with TeamID 'DJ3H93M7VJ', identifier 'org.python.python': broken signature treated as unsigned without privileges. This workaround will not work for software built on or after 10.12.

[executable<UAMCorpusTool5(501)>:9759] Death sentinel fired!

So, the problem seems to be that the Python executable packed into the standalone app is not validly signed, and thus the whole app is rejected.

Has anyone seen this before?

Mick

Michael O'Donnell

unread,
Oct 9, 2020, 9:34:18 AM10/9/20
to PyInstaller
I went back to Python 3.7.3 (still with Pythinstaller 4.1.dev0) and the problem disappeared. Seems later versions of Python after 3.7.6 are problematic.

Mick
Reply all
Reply to author
Forward
0 new messages