From 6919369a923734bcc3664d960d9c6b7fd68598f0 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 21 Mar 2023 14:18:33 +0100 Subject: [PATCH] MacQetDeploy_arm64.sh add Enable hardened runtime flag to fix notarization Add process to Upload a macOS app to be notarized and validate before upload to QET download servers --- misc/MacQetDeploy_arm64.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/misc/MacQetDeploy_arm64.sh b/misc/MacQetDeploy_arm64.sh index 4f1e2cb48..1efc54d60 100644 --- a/misc/MacQetDeploy_arm64.sh +++ b/misc/MacQetDeploy_arm64.sh @@ -214,7 +214,7 @@ if [ -d "${QET_EXAMPLES_DIR}" ]; then cp ${current_dir}/examples/*.qet $BUNDLE/Contents/Resources/examples fi -codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" $BUNDLE +codesign --force --deep --sign --timestamp -s "Developer ID Application: Laurent TRINQUES (Y73WZ6WZ5X)" --options=runtime $BUNDLE ### create zip tarball ############################################### echo @@ -223,6 +223,14 @@ echo "Create zip tarball:" /usr/bin/ditto -c -k --keepParent $BUNDLE "build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip" +### notarize zip tarball ############################################### + +echo +echo "______________________________________________________________" +echo "Notarize zip tarball:" + +xcrun notarytool submit build-aux/mac-osx/${APPNAME}-$VERSION-r$HEAD-arm64.zip --keychain-profile "org.qelectrotech" --wait + ### The end, process is done ########################################## echo