✗ This script does not produce reproducible output (yet!).
This guide explains how to build Electron Cash 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 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.
git submodule update --init
The above ensures that you pull in the zbar, secp256k1, and other submodules.
With brew or macports installed, run
brew install coreutils
brew install pyenv
# OR, with macports
sudo port install coreutils
./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)"
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.