-
Notifications
You must be signed in to change notification settings - Fork 34
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
mac app bundling using cmake on m1 failure due to install_name_tool #348
Comments
it seems there is a similar take on how mac app bundling is done, but the below approach uses a shell script instead of python but seems the project is making a m1 app bundle that works with m1 based macs. |
you care to share cmake commands you're using to build a self contained mac app bundle for |
I'm running into the same problem. How did you get the app to open? Manually using |
by not updating the loader paths for the bins and libs, but thus renders the app no relocatable. |
ah. Is there a cmake option to skip that step? |
not that i'm aware of. |
Assuming that
will codesign all changed libraries after they have been relocated and their paths have been fixed. It is brute force, but at least for development on the local machine, it makes I patched
Edit: I originally published the Qt5 link commented out, and a Qt6 link active, which was wrong. |
you might want to doublecheck that. it looks like you commented out the path to qt@5 which freecad uses, and then you added the path to qt ie. qt@6 which freecad currently does not support. |
Yes, you are right of course. I published the wrong patch. The Qt5 link is the correct one. |
my
FreeCAD.app
mac app bundle crashes on launch after using cmake, make install to build the bundle. below is the crash report i see after the bundle crashes.i'm seeing a flurry of these messages when aseembling the bundle,
--
crash report
@ageeye
you care to weigh in on this. i know you've been building app bundles with cmake on an m1?
The text was updated successfully, but these errors were encountered: