✗ 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.
git submodule init
git submodule update
The above ensures that you pull in the OSX helper app, CalinsQRReader.
./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.