Building for macOS
This guide explains how to build the Halloy .app for macOS. If you want to install a signed release version of Halloy on macOS, then you should consult the Installation documentation instead.
Prerequisites
- macOS 11.0 or later
- Latest Rust toolchain
- Xcode Command Line Tools (
xcode-select --installor https://developer.apple.com/download/all/)
Steps
-
Clone the Repository
If you haven’t already, clone the Halloy repository:
git clone https://github.com/squidowl/halloy.git cd halloy -
Run the Build Script
Execute the
build-macosscript:./scripts/build-macos.shThis script will:
- Build the Halloy binary for both
x86_64andaarch64architectures. - Combine them into a universal binary using
lipo. - Copy the binary and resources into a macOS
.appbundle template located atassets/macos/Halloy.app. - Place the
.appbundle intarget/release/macos.
- Build the Halloy binary for both
-
Locate the Built Application
After the script completes, you’ll find the generated
.appbundle at:target/release/macos/Halloy.app