Skip to content

Instantly share code, notes, and snippets.

@yosun
Last active September 30, 2020 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yosun/dfbf118e217e47b577f0331e47b88c56 to your computer and use it in GitHub Desktop.
Save yosun/dfbf118e217e47b577f0331e47b88c56 to your computer and use it in GitHub Desktop.
how to codesign a Unity MacOS .app for self-distribution online

First make sure you have identifiers for MacOS Application signing - grab that certificate from developer.apple.com

See your valid identities, which should list something like "Developer ID Application: Your Developer Name (10 Digit Code)" security find-identity

Code Sign it codesign -f --deep -s "Developer ID Application: Your Developer Name (10 Digit Code)" AppName.app

Check it codesign -dv --verbose=4 AppName.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment