#Missing required Frameworks folder after tauri build

1 messages · Page 1 of 1 (latest)

proven kiln
#

I am trying to sidecar a python executable on MacOS. After building I run my script from Contents/MacOS and I get this error:

[14076] Failed to load Python shared library '/Users/dylan/src-tauri/target/release/bundle/macos/myapp.app/Contents/Frameworks/Python'

I was not able to get my tauri.conf to build a Frameworks folder but I manually made one and confirmed that the app runs error free. I built my script using Pyinstaller which resulted with a binary and an __internals folder with many library folders, .dylib and .so files. Renaming this folder "Frameworks" and satisfying the path in the error got it to work but I would like to be able to build with it in place. Is there something in the config or a feature I am missing?

#

Should also be noted that even though this problem disappears if I build with onefile using Pyinstaller, I run into codesigning problems.