On this page
Building for macOS
Warning
Woggle only publishes Linux and Windows builds. This guide comes from Halloy and is untested for Woggle.
This guide explains how to build the Woggle .app for macOS. If you want to install a signed release version of Woggle 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 Woggle repository:
git clone https://github.com/WoggleSL/woggle.git cd woggleRun the Build Script
Execute the
build-macosscript:./scripts/build-macos.shThis script will:
- Build the Woggle 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/Woggle.app. - Place the
.appbundle intarget/packaging/macos.
- Build the Woggle binary for both
Locate the Built Application
After the script completes, you’ll find the generated
.appbundle at:target/packaging/macos/Woggle.app