diff options
author | 2020-09-13 18:34:34 -0700 | |
---|---|---|
committer | 2020-09-13 18:34:36 -0700 | |
commit | 601f49ab8440cf08ba7dc97666bf34ab0b1d7210 (patch) | |
tree | a80866fc243055a6e40abf09aec883404b5625f6 | |
parent | da3b2c89f2b451ffdfc19abb833e93967e1fe9e3 (diff) | |
download | subsurface-601f49ab8440cf08ba7dc97666bf34ab0b1d7210.tar.gz |
build-system/macOS: change signing to re-enable notarization
This continues to be useless for other people as it requires my signing key,
but when signed like this I can then successfully submit the dmg for
notarization, so I'll update the signing script in order not to lose that
magic...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | packaging/macosx/sign | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/macosx/sign b/packaging/macosx/sign index cba65ff16..914183fce 100644 --- a/packaging/macosx/sign +++ b/packaging/macosx/sign @@ -11,4 +11,9 @@ cd staging # remove anything codesign doesn't want us to sign find Subsurface.app/Contents/Frameworks/ \( -name Headers -o -name \*.prl -o -name \*_debug \) -print0 | xargs -0 rm -rf -codesign --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app +# codesign --deep doesn't find the shared libraries that are QML plugins +for dylib in $(find Subsurface.app/Contents/Resources/qml -name \*.dylib) ; do + codesign --options runtime --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force $dylib +done + +codesign --options runtime --keychain $HOME/Library/Keychains/login.keychain -s "Developer ID Application: Dirk Hohndel" --deep --force Subsurface.app |