Skip to content

Instantly share code, notes, and snippets.

@jvcleave
Created June 17, 2020 05:37
Show Gist options
  • Save jvcleave/b3d271750e839baa2ba29d67417da3d0 to your computer and use it in GitHub Desktop.
Save jvcleave/b3d271750e839baa2ba29d67417da3d0 to your computer and use it in GitHub Desktop.
Catalina signing
https://developer.apple.com/account/resources/certificates/list
https://support.apple.com/en-us/HT204397
https://damian.fyi/2019/07/30/build-notarize-repeat/
xcrun iTMSTransporter -m provider -u "id@apple.com" -p "appspecifpassword"
xcrun altool --list-providers -u "id@apple.com" -p "appspecifpassword"
security find-identity -v -p codesigning
macdeployqt Mac.app -sign-for-notarization="Developer ID Application: "
codesign -s "Developer ID Application: " --force --options=runtime --deep Mac.app
ditto -ck --keepParent "Mac.app" "Mac.zip"
xcrun altool --notarize-app -t osx -f Mac.zip --primary-bundle-id="com.domain.app" -u "id@apple.com" -p "appspecifpassword" --asc-provider "SHORTCODEID"
xcrun altool --notarization-info UUID -u "id@apple.com" -p "appspecifpassword"
xcrun stapler staple "Mac.app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment