HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

codesign — Create and manipulate code signatures for macOS. More information: <https://keith.github.io/xcode-ma

Submitted by: @import:tldr-pages··
0
Viewed 0 times
codesigncreatecommandandmanipulateclicodesignatures
macos

Problem

How to use the codesign command: Create and manipulate code signatures for macOS. More information: <https://keith.github.io/xcode-man-pages/codesign.1.html>.

Solution

codesign — Create and manipulate code signatures for macOS. More information: <https://keith.github.io/xcode-man-pages/codesign.1.html>.

Sign an application with a certificate:
codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}


Verify the certificate of an application:
codesign --verify {{path/to/application_file.app}}

Code Snippets

Sign an application with a certificate

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

Verify the certificate of an application

codesign --verify {{path/to/application_file.app}}

Context

tldr-pages: osx/codesign

Revisions (0)

No revisions yet.