From edc8d6522e44f8261a1040a2c96bdc1899129a7a Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 28 Mar 2024 11:02:26 +0000 Subject: [PATCH] Add full credentials to keychain for notarytool --- indra/newview/installers/darwin/apple-notarize.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/indra/newview/installers/darwin/apple-notarize.sh b/indra/newview/installers/darwin/apple-notarize.sh index c3732ce57c..156f40155b 100755 --- a/indra/newview/installers/darwin/apple-notarize.sh +++ b/indra/newview/installers/darwin/apple-notarize.sh @@ -11,6 +11,11 @@ if [[ -f "$CONFIG_FILE" ]]; then zip_file=${app_file/app/zip} ditto -c -k --keepParent "$app_file" "$zip_file" if [[ -f "$zip_file" ]]; then + res=$(xcrun notarytool store-credentials \ + --keychain-profile viewer.keychain-db \ + --username $USERNAME \ + --password $PASSWORD 2>&1) + echo $res res=$(xcrun notarytool submit "$zip_file" \ --keychain-profile viewer.keychain-db \ --verbose \