macOS

codesign

SafeVerify code signatures

codesign -dv <app>

Displays and verifies app signatures — confirm provenance or spot broken signatures.

Examples

  • codesign --verify --deep -v /Applications/Tool.appDeep-verify a signature

Syntax

codesign [-dv] [--verify] <app>

Before you run it

Read only.

Used when you see

Mac app won't open
2
Verify the app's code signature
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store