Chris@2066: #!/bin/bash Chris@2066: Chris@2066: # This is just a scrapbook for the mo Chris@2066: Chris@2066: ## Before this, we need to open Application Loader and log in to the Chris@2066: ## right iTunes Connect account Chris@2066: Chris@2066: # 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" Chris@2066: Chris@2066: ## That churns for a while and then dumps out a UUID Chris@2066: Chris@2066: # xcrun altool --notarization-info UUID -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com" Chris@2066: Chris@2066: ## Returns "in progress" at first, then eventually a failure report Chris@2066: ## with a URL that can be retrieved as JSON payload using wget. An Chris@2066: ## email is also sent to the iTunes Connect account holder when it Chris@2066: ## completes Chris@2066: Chris@2066: # xcrun stapler staple -v "Sonic Visualiser-3.2.dmg" Chris@2066: Chris@2066: # spctl -a -v "/Applications/Sonic Visualiser.app" Chris@2066: Chris@2066: Chris@2066: