Sign an application with a certificate

codesign

  • Create and manipulate code signatures for macOS.
    More information: <https://www.unix.com/man-page/osx/1/codesign/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

codesign --sign "{{My Company Name}}" {{path/to/App.app}}

click the source code to copy