macOS Build Prerequisites
This page has all the information you need to get your macOS development environment set up and ready to hack on Thunderbird.
This guide assumes you already followed the Getting Started documentation and you already downloaded
Xcodeis a prerequisite to build Firefox an you will need administrator permissions on your machine to install it. You can verify that you have these permission in
System Preferences -> Users & Groups.)
Xcodeis pretty large and it could take up to 1 hour to complete the download and installation process
Xcodeyou will find the SDK header at this location
MacOSX10.14.sdk) by double clicking on it and follow the installation instructions.
Access the location where you downloaded the
mozilla-centralsource code, most likely
source/and trigger this command:
You will be asked to choose from the following list of options
Please choose the version of Firefox you want to build:
1. Firefox for Desktop Artifact Mode
2. Firefox for Desktop
3. GeckoView/Firefox for Android Artifact Mode
4. GeckoView/Firefox for Android
Please choose option 2 to proceed with a successful build.
This action will install all the libraries and dependencies necessary to build Thunderbird locally.
It could happen that some libraries will not be installed by the
Go. Check if these packages are available in your system by running these commands in your terminal:
If one or both commands return an empty output, you need to install them manually. We recommend using HomeBrew to download and install these packages in your system. After that, follow these steps:
- Install Rust:
brew install rust
- Install C bindings:
cargo install cbindgen
If you get a
command not founderror while running
cargo, but the command
which cargoreturns the location of the that package, it means you need to update your
.bashrcfile to include the