Hi,
I’ve been trying to create a bundle of my application for macOS. I’ve tried both the cargo-bundler
and cargo-packager
crates, and in general, the bundles are built, but it seems to work on Intel Macs only.
I can build the x86_64-apple-darwin
version just fine, and it works on my Intel mac (I don’t have an Apple Silicon device at hand).
I can also build a “raw”, un-bundled binary for aarch64-apple-darwin
that can be executed in a terminal on an Apple Silicon mac.
BUT, as soon as I build a bundle for aarch64-apple-silicon
, they don’t work. The message says that the bundle is broken and should be deleted, it’s NOT the “Unknown developer, don’t open” message. It seems like even the executable inside the bundle doesn’t work.
Is there some trick to build bundles for Apple Silicon? Is it just not possible to build a bundle for Apple Silicon on Intel Macs ? Could it be some version mismatch?
Best,
N