#!/bin/bash #Notarization for Mac. Launch it from the build folder #rm notarize_result.plist FILES=OUTPUT/linphone-app/macos/Packages/*.dmg for f in $FILES do linphone_file=$f done echo "Uploading $linphone_file file with xcrun notarytool" xcrun notarytool submit -f json --team-id "$MACOSX_SIGNING_PROVIDER" --password "$MACOSX_SIGNING_PASS" --apple-id "$MACOSX_SIGNING_MAIL" --wait $linphone_file 2>&1 | tee /tmp/notarization_info.json status=$(jq -r .status /tmp/notarization_log.json issues=$(jq -r .issues