annotate deploy/osx/notarize.sh @ 2107:5decad11dee9

Scale pen for retina display on macOS as well as for hidpi display elsewhere
author Chris Cannam
date Thu, 15 Nov 2018 14:04:56 +0000
parents 6e9a125ac5f3
children ec88bcdc5a5b
rev   line source
Chris@2066 1 #!/bin/bash
Chris@2066 2
Chris@2066 3 # This is just a scrapbook for the mo
Chris@2066 4
Chris@2066 5 ## Before this, we need to open Application Loader and log in to the
Chris@2066 6 ## right iTunes Connect account
Chris@2066 7
Chris@2066 8 # 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 9
Chris@2066 10 ## That churns for a while and then dumps out a UUID
Chris@2066 11
Chris@2066 12 # xcrun altool --notarization-info UUID -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com"
Chris@2066 13
Chris@2066 14 ## Returns "in progress" at first, then eventually a failure report
Chris@2066 15 ## with a URL that can be retrieved as JSON payload using wget. An
Chris@2066 16 ## email is also sent to the iTunes Connect account holder when it
Chris@2066 17 ## completes
Chris@2066 18
Chris@2066 19 # xcrun stapler staple -v "Sonic Visualiser-3.2.dmg"
Chris@2066 20
Chris@2066 21 # spctl -a -v "/Applications/Sonic Visualiser.app"
Chris@2066 22
Chris@2066 23
Chris@2066 24