Describe the bug
The bundler fails to include a sidecar on apple silicon machines. It is expecting to find a binary named: ${name}-x86_64-apple-darwin even though the correct thing to do is to look for a binary with the name ${name}-aarch64-apple-darwin.
Platform and Versions (required):
Operating System - Mac OS, version 11.3.1 X64
Node.js environment
Node.js - 16.5.0
@tauri-apps/cli - 1.0.0-beta.6
@tauri-apps/api - 1.0.0-beta.5
Global packages
npm - 7.19.1
yarn - 1.22.10
Rust environment
rustc - 1.53.0
cargo - 1.53.0
App directory structure
/dist
/node_modules
/.github
/src-tauri
/.git
/src
App
tauri.rs - 1.0.0-beta.4
build-type - bundle
CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../dist
devPath - http://localhost:3000
framework - React
Workaround
you can specify the target explicitly by running yarn tauri build --target aarch64-apple-darwin.
Describe the bug
The bundler fails to include a sidecar on apple silicon machines. It is expecting to find a binary named:
${name}-x86_64-apple-darwineven though the correct thing to do is to look for a binary with the name${name}-aarch64-apple-darwin.Platform and Versions (required):
Workaround
you can specify the target explicitly by running
yarn tauri build --target aarch64-apple-darwin.