Skip to content

Runtime Error After Code Signing with Embedded Python 3.9.6 using PyInstaller 6.11.0 on macOS.6 #8929

Closed Answered by rokm
Asifkhan-akhan asked this question in Help
Discussion options

You must be logged in to vote

If you sign an executable with actual developer ID, then all shared libraries loaded by that executable needs to be signed with that developer ID.

Therefore, you cannot post-hoc sign a onefile executable, because you are signing only the executable, while the collected shared libraries remained unsigned (or rather, remain ad-hoc signed).

There's a --codesign-identity command line option that allows you to pass your developer ID to the build process itself (so that collected shared libraries are also signed with that identity, instead of being ad-hoc signed).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Asifkhan-akhan
Comment options

Answer selected by Asifkhan-akhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants