Skip to content

Latest commit

 

History

History

osx

Building Mac OS binaries

This script does not produce reproducible output (yet!).

This guide explains how to build Electrum binaries for macOS systems. We build our binaries on El Capitan (10.11.6) as building it on High Sierra makes the binaries incompatible with older versions.

This assumes that the Xcode + Xcode Command Line tools (and thus git) are already installed. You can install older (and newer!) versions of Xcode from Apple provided you have a devloper account from the Apple developer downloads site.

1. Make sure to freshen git submodules

git submodule init
git submodule update

The above ensures that you pull in the OSX helper app, CalinsQRReader.

2. Use the provided script to begin building.

./make_osx

Or, if you wish to sign the app when building, provide an Apple developer identity installed on the system for signing:

./make_osx "Developer ID Application: MY NAME (123456789)"

2. Done

You should see Electron-Cash.app and Electron-Cash-x.y.z.dmg in ../dist/. If you provided an identity for signing, these files can even be distributed to other Macs and they will run there without warnings from GateKeeper.