# HG changeset patch # User Chris Cannam # Date 1541169529 0 # Node ID 6e9a125ac5f323127030cbbdfb39ce0a3f74aae3 # Parent ed3f1b5094ade648d82d5d597d6c0a93c0ed3b84 Notes on notarization diff -r ed3f1b5094ad -r 6e9a125ac5f3 deploy/osx/notarize.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/osx/notarize.sh Fri Nov 02 14:38:49 2018 +0000 @@ -0,0 +1,24 @@ +#!/bin/bash + +# This is just a scrapbook for the mo + +## Before this, we need to open Application Loader and log in to the +## right iTunes Connect account + +# xcrun altool --notarize-app -f "Sonic Visualiser-3.2.dmg" --primary-bundle-id org.sonicvisualiser.SonicVisualiser -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com" + +## That churns for a while and then dumps out a UUID + +# xcrun altool --notarization-info UUID -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com" + +## Returns "in progress" at first, then eventually a failure report +## with a URL that can be retrieved as JSON payload using wget. An +## email is also sent to the iTunes Connect account holder when it +## completes + +# xcrun stapler staple -v "Sonic Visualiser-3.2.dmg" + +# spctl -a -v "/Applications/Sonic Visualiser.app" + + +