Skip to content

[bug] cargo tauri build fails on MacOS M1 12.3 #3719

@Janaka-Steph

Description

@Janaka-Steph

Describe the bug

cargo tauri build fails on MacOS M1 12.3.

$ cargo tauri build --verbose
...
+ echo 'Blessing started'
Blessing started
+ bless --folder /Volumes/tdex-dashboard --openfolder /Volumes/tdex-dashboard
bless: The 'openfolder' is not supported on Apple Silicon devices.
Error: failed to bundle project

Caused by:
    Shell Scripting Error:`error running bundle_dmg.sh`
error Command failed with exit code 1.

Reproduction

No response

Expected behavior

No response

Platform and versions

▶ cargo tauri info

Operating System - Mac OS, version 12.3.0 X64

Node.js environment
  Node.js - 16.14.1
  @tauri-apps/cli - 1.0.0-rc.6
  @tauri-apps/api - 1.0.0-rc.2

Global packages
  npm - 8.1.4
  pnpm - Not installed
  yarn - 1.22.17

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-aarch64-apple-darwin 

App directory structure
/node_modules
/public
/scripts
/.github
/src-tauri
/build
/.git
/.idea
/src

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../build
  devPath - http://localhost:3003/
  framework - React
  bundler - Webpack

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions