-
I'm trying to build a macOS App Bundle that I can distribute but I'm stuck somewhere between code signing and Qt bundling. Does anyone have a working example of this? At the moment I'm trying to use cargo bundle and that gets me an .app, and I can run the contained macOS binary from the command line, but if I try to run it from Finder it just crashes immediately. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
When it crashes, do you get any dialog with details about the crash? When you run it from the command line, do you have DYLD_FRAMEWORK_PATH set by chance? Is there a specific reason you're trying to bundle Qt? Does it work if you skip the Qt dependency? This guy recently made a video of creating an app with Rust and Slint on macOS, which includes creating an .app bundle and launching it from Finder: https://youtu.be/7aFgeUG9TK4?si=hCy3DM4aECTHdRau |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick response! I think I've got this sorted. I was only using Qt as a default, now I'm trying winit-software. I had a second issue where I was trying to access a sandboxed directory. I'll report back here with results soon. Thanks! Edit: I should note, I'm trying to prepare an app bundle for the app store. That video is helpful! |
Beta Was this translation helpful? Give feedback.
-
Alright, I think I was just confused about backend selection in general. It all builds, signs, notarizes, and runs fine. If it helps anyone else, here's how I'm doing that:
|
Beta Was this translation helpful? Give feedback.
Alright, I think I was just confused about backend selection in general. It all builds, signs, notarizes, and runs fine.
If it helps anyone else, here's how I'm doing that: