Skip to content

[binary-releases] macos aarch64 (m1) support #2286

@JonasKruckenberg

Description

@JonasKruckenberg

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.

Metadata

Metadata

Assignees

Labels

scope: cliThe tauri-cli rust crate and @tauri-apps/cli npm packagetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions