-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile an app on a M1 silicon device #1511
Comments
You didn't fill in the bug issues form so I'll have to ask.... |
I am sorry, this is honestly my first issue I ever opened :)
Using this cx freeze, since all others give me path issues with PySide6: cx-Freeze @ git+https://github.com/marcelotduarte/cx_Freeze.git@7596026a25e64dffb9b9d88d913dd8dce0e6c5fa |
You can test with: This development version has a patch to solve the issue with pyside6 (#1431) And including the bin_path_includes build_options... |
Change build_options to:
|
@marcelotduarte Okay I was able to use now the newest pip install you mentioned above. I also added the bin_path_includes, but unfortunately there wasn't any difference. Still, when I remove the lib folder, it won't run anymore. I noticed that when I run it with the new pips I get an code signing issue as well. Also the missing lib issue is still there. |
Can you test with v 6.11 and/or the latest development version? |
cx_Freeze 6.12.0 has just been released. |
Hi @marcelotduarte, @Lukikrew, I've the same problem with macOS 12.4 (M1). |
I'm having this issue as well on my M1 air running Ventura. cx_Freeze 6.13.1, Python 3.9.6 Running the build with rosetta using
|
Try to install using: |
casey@mac-monterey % cxfreeze -c main.py --target-dir dist copying /usr/local/opt/libiodbc/lib/libiodbc.2.dylib -> /Users/casey/Desktop/dist/libiodbc.2.dylib |
After following the instructions here, I can confirm that the issue still exists on my M1 Mac. I installed libiodbc using homebrew as well and still no luck. |
I use rosetta with x86 homebrew to install libiodbc, it works for me. |
Any tips on how to do this? |
I believe patch #1942 resolves this issue. Please test and give me feedback. See more: #1548 (comment) |
Release 6.15.3 is out! |
I am trying to create an app with the code:
python setup.py bidst_mac
My app uses TensorFlow, so I followed this tutorial first and it runs well before freezing.
https://www.youtube.com/watch?v=4nY5lDBXdOg
However, when I try to run the .app I receive this error:
Library not loaded: @rpath/libpython3.9.dylib Referenced from: /Users/Desktop/main/build/exe.macosx-11.0-arm64-3.9/app Reason: tried: '/usr/local/lib/libpython3.9.dylib'
However, it works when I place the dylibs in the usr/local/lib folder, but as soon as I remove the folder it won't start.
Shouldn't the app also run without the files after compiling? because when I move it to another Mac it won't work, since they haven't the files in their usr/local/lib
What am I missing here?
The text was updated successfully, but these errors were encountered: