cannam@724: ## Before this, we need to open Application Loader and log in to the cannam@724: ## right iTunes Connect account cannam@724: cannam@724: echo "Not running - read, review, and update script first" cannam@724: exit 1 cannam@724: cannam@724: xcrun altool --notarize-app -f "EasyMercurial-1.4.dmg" --primary-bundle-id org.easyhg.EasyMercurial -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com" cannam@724: cannam@724: ## That churns for a while and then dumps out a UUID cannam@724: cannam@724: # xcrun altool --notarization-info UUID -u "cannam+apple@all-day-breakfast.com" -p @keychain:"Application Loader: cannam+apple@all-day-breakfast.com" cannam@724: cannam@724: ## Returns "in progress" at first, then eventually a report with a URL cannam@724: ## that can be retrieved as JSON payload using wget. An email is also cannam@724: ## sent to the iTunes Connect account holder when it completes cannam@724: cannam@724: # xcrun stapler staple -v "EasyMercurial-1.4.dmg" cannam@724: cannam@724: # spctl -a -v "/Applications/EasyMercurial.app" cannam@724: