Skip to content

Commit

Permalink
Migrate from altool to notarytool for app notarization (#2027)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbenmoussati authored Dec 11, 2023
1 parent f3380b0 commit c6bc372
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ productsign --sign "Developer ID Installer: Symphony Communication Services LLC"
echo "Signing Package complete: ${PACKAGE}"

# Notarize the app
xcrun altool --notarize-app --primary-bundle-id "$BUNDLE_ID" --username "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --file $SIGNED_PACKAGE > /tmp/notarize.txt
# xcrun altool --notarize-app --primary-bundle-id "$pwd" --username "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --file $SIGNED_PACKAGE > /tmp/notarize.txt
xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --team-id "$TEAM_ID" $SIGNED_PACKAGE --wait > /tmp/notarize.txt

cat /tmp/notarize.txt
REQUEST_ID=$(sed -n '2p' /tmp/notarize.txt)
REQUEST_ID=$(echo $REQUEST_ID | cut -d "=" -f 2)
Expand Down

0 comments on commit c6bc372

Please sign in to comment.