Hi,
How to correctly check notarization for my product for DMG and APP bundle?
For APP, if I use this command:
spctl -a -v 'MyProduct.app'
It shows OK for my Mac where I compiled and signed this APP, even if this APP was NOT notarized.
And this command correctly detects missing or failed notarization:
spctl -a -vvv -t install 'MyProduct.app'
For DMG I used this command:
spctl -a -t open --context context:primary-signature MyProduct.dmg -v
However I'm not sure that all these commands on 100% validate successful/absent/failed notatization.