1
0

build: split make_osx.sh script into two: "build" and "sign" parts

This commit is contained in:
SomberNight
2024-03-13 16:01:57 +00:00
parent 39afa2c3e2
commit 0a94ea0bc2
3 changed files with 83 additions and 60 deletions

View File

@@ -86,18 +86,18 @@ Let brew install the Xcode CLI tools.
cd electrum
./contrib/osx/make_osx.sh
This creates both a folder named Electrum.app and the .dmg file.
This creates both a folder named Electrum.app and the .dmg file (both unsigned).
##### 2.1. For release binaries, here be dragons
If you want the binaries codesigned for macOS and notarised by Apple's central server,
provide these env vars to the `make_osx.sh` script:
also run the `make_osx2.sh` script:
CODESIGN_CERT="Developer ID Application: Electrum Technologies GmbH (L6P37P7P56)" \
APPLE_TEAM_ID="L6P37P7P56" \
APPLE_ID_USER="me@email.com" \
APPLE_ID_PASSWORD="1234" \
./contrib/osx/make_osx.sh
./contrib/osx/make_osx2.sh
(note: `APPLE_ID_PASSWORD` is an app-specific password, *not* the account password)