1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/Docs/macOSSigning.md
2021-08-14 13:38:51 +02:00

1.3 KiB

ScreenPlay macOS signing full guide

Create a developer account and certs

  1. Pay the 99$ Apple tax
  2. Create a app password for distribution outside of the app store
  1. Next we need a developer certificate:

Sign the app locally with codesign

We need to sign every single file in the .app file. For this we use the name from the installed cert. This can be copied from the Keychain Access.app.

codesign --deep -f -s "Developer ID Application: Elias Steurer (AAABCXYZAA)" --options "runtime" "ScreenPlay.app/"

Upload to apple for notization

We use xcnotary tools for fast automatic upload. Install it via brew:

brew install akeru-inc/tap/xcnotary

Then run it with the

  • *.app name
  • -d the developer account email and
  • -k command is here the keychain name that contains your password from the app password step above!

xcnotary notarize ScreenPlay.app -d yourDeveloperAccountEmail@example.com -k ScreenPlay