What entitlements are you using? Pyinstaller requires com.apple.security.cs.allow-unsigned-executable-memory.
Save this to the file entitlements.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key><true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>
</dict>
</plist>
Pass this file to pyinstaller with the --osx-entitlements-file entitlements.plist option.
Pass the same file to the codesign utility with the --entitlements entitlements.plist option.
Topic:
Code Signing
SubTopic:
Notarization
Tags: