MacOS Commands For signing Apps

Check if an app has been signed:

codesign --verify --verbose "full/path/to/"

Sign a pkg file:

sudo productbuild --package "your.pkg" --content "/path/to/your/" --sign "name of your certificate" "name of your signed.pkg"

Check if a pkg has been signed:

pkgutil --check-signature "/path/to/your/app.pkg"

Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.