Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 29, 2022 08:31 am GMT

How to Check if a macOS App is Notarized

Version: macOS 10.15.7

You can check if a macOS application is notarized by using the spctl command-line utility. spctl evaluates if the system allows execution, installation, and other operations on files.

The first example is an app that is not notarized. spctl shows the status as rejected and the source indicates Unnotarized Developer ID.

$ spctl -a -vvv -t install MacApp.appMacApp.app: rejectedsource=Unnotarized Developer IDorigin=Developer ID Application: <redacted developer account>

The second example is a notarized app. spctl shows the status as accepted.

$ spctl -a -vvv -t install Project1.appProject1.app: acceptedsource=Notarized Developer IDorigin=Developer ID Application: <redacted developer account>

The table below describes the spctl options.

OptionDescription
-aStands for assess and requests spctl to perform an assessment of the given file.
-vvvSpecifies increased output verbosity.
-t installSpecifies the type of assessment. install assesses installation.

Original Link: https://dev.to/ajpagente/how-to-check-if-a-macos-app-is-notarized-8p4

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To