mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 02:32:29 +01:00
Add mac signing guide
This commit is contained in:
parent
bb5e753291
commit
d2a67c292a
29
Docs/macOSSigning.md
Normal file
29
Docs/macOSSigning.md
Normal file
@ -0,0 +1,29 @@
|
||||
# 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
|
||||
- Go to https://appleid.apple.com/account/manage
|
||||
- Call it ScreenPlay and save the password!
|
||||
3. Next we need a developer certificate:
|
||||
- Go to https://developer.apple.com/account/resources/certificates/list
|
||||
- Click the blue plus sign
|
||||
- Select `Developer ID Application`
|
||||
- _This certificate is used to code sign your app for distribution outside of the Mac App Store._
|
||||
|
||||
## 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](https://github.com/akeru-inc/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`
|
Loading…
Reference in New Issue
Block a user