Hello,
Notarization needs 2 processes, notarize and staple.
My AppleScript appA, which bundles another appB inside, both apps can be notarized,
and the appB can also be stapled, but the appA can't be stapled.
I'm trying how to staple appA by command-line.
After much trying, I can't distiguish the relationship between an app with the RequsetUUID.
I can only check if an app is already stapled or not by,
xcrun stapler validate XXXX.app
but I don't know how to tell if an app is already notarized but not stapled.
Any suggestions?
spctl
should tell you this:
$ spctl -a -t exec -vvv /Path/To/Notarised.app
/Path/To/Notarised.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: ***
$ spctl -a -t exec -vvv /Path/To/Unnotarised.app
/Path/To/Unnotarised.app: accepted
source=Developer ID
origin=Developer ID Application: ***
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"