-
Hi, I know that in the past (v1) tauri could build universal binaries on macOS using However it looks like that option was removed in v2, and so that begs the question, what's the alternative these days? Should I compile two
Also
Best, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Actually I realized that npm obscures how parameters are passed into
|
Beta Was this translation helpful? Give feedback.
-
Just an FYI that before running the build step, you also have add the rustup target add aarch64-apple-darwin If you only add the So, the full GitHub Action step for building a universal apple build looks like this: - name: Install Rust targets for mac and build Tauri binaries
if: matrix.os == 'macos-15'
run: |
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
bun install
bun run tauri build --verbose --target universal-apple-darwin |
Beta Was this translation helpful? Give feedback.
Actually I realized that npm obscures how parameters are passed into
tauri-cli
so the right way to pass flags is to use--
delimiter: