Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.08 KB

File metadata and controls

37 lines (26 loc) · 1.08 KB

Building Moolticute on macOS (Apple Silicon)

Official release DMGs are currently built for Intel (x86_64). On Apple Silicon Macs the app runs through Rosetta today, but native arm64 builds are supported from source.

Quick build

brew install qt go
git clone --recurse-submodules https://github.com/mooltipass/moolticute.git
cd moolticute
./scripts/macos/build-local.sh
open build/Moolticute.app

To bundle the daemon and CLI tools into the app:

./scripts/macos/build-local.sh --package

What changes on Apple Silicon

  • Qt is taken from Homebrew (/opt/homebrew/opt/qt) when available.
  • mc-agent and mc-cli are compiled from source because the prebuilt Intel binaries hosted for releases are not compatible with arm64.
  • The resulting Moolticute.app runs natively without Rosetta.

Verify the build

file build/Moolticute.app/Contents/MacOS/moolticute
# Expected on Apple Silicon: Mach-O 64-bit executable arm64

Related issues