ILG2021
ILG2021
`[3307] Error loading Python lib '/Users/mac/Downloads/my-app/_internal/Python': dlopen: dlopen(/Users/mac/Downloads/my-app/_internal/Python, 0x000A): tried: '/Users/mac/Downloads/my-app/_internal/Python' (code signature in '/Users/mac/Downloads/my-app/_internal/Python.framework/Versions/3.11/Python' not valid for use in process: library load disallowed by system policy), '/System/Volumes/Preboot/Cryptexes/OS/Users/mac/Downloads/my-app/_internal/Python' (no such...
> As well as: `codesign -vv /Users/mac/Downloads/my-app/_internal/Python`? Thanks for your help, after replace every symlink by the real file, the Python.framework crash has been fixed. I think it is a...
> Does it work if instead of replacing the symlinks, you manually ad-hoc sign the `Python.framework` bundle? I.e., run `codesign -s - --deep --force /Users/mac/Downloads/my-app/_internal/Python.framework`? I will try later, thank...
> I'm reopening this, as it is likely a regression from PyInstaller 5.x series. > > In v6, we preserve .framework bundle layouts (to address several other issues), but during...
By the way, the error seems like: ``` Traceback (most recent call last): File "struct.py", line 13, in ImportError: dlopen(/Users/mac/Downloads/my-app/_internal/lib-dynload/_struct.cpython-311-darwin.so, 0x0002): tried: '/Users/mac/Downloads/my-app/_internal/lib-dynload/_struct.cpython-311-darwin.so' (code signature in '/Users/mac/Downloads/my-app/_internal/lib-dynload/_struct.cpython-311-darwin.so' not valid for...
pyinstaller 5.13.2 don't has the python.framework problem. but system still keeping block the so libs. Only type sudo spctl --global-disable can pass it. I am testing on mac os 14.2,...
> > pyinstaller 5.13.2 don't has the python.framework problem. > > Yeah, that's expected, since `Python.framework` is preserved only in v6. > > > but system still keeping block the...
> Is it an x86_64 build, arm64 one, or universal2? x86_64 build
> xattr -lr /Users/mac/Downloads/my-app ./my-app: com.apple.lastuseddate#PS: ???e ./my-app: com.apple.quarantine: 00c1;65828e49;QuarantineService;
I think the problem is when i distribute the package i use zip, and it remove system link.