How can I tell if an app, without RequestUUID, is notarized or not?

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?

Accepted Reply

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"

Replies

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"

Thanks Eskimo,

that works nice for my 'appB' (an app export from Xcode, which is stapled).

But that still doesn't work for my 'appA' (an AppleScript app from AppleScript Editor, which isn't stapled).


I've done notarization with 'appA' by command-line, and got an success email from Apple Notarization service.

But 'spctl' still returns "Developer ID", not "Notarized Developer ID" for 'appA'.


Any suggestions?

Thank you so much.

There seems to be a specific problem with AppleScript apps that I don’t yet fully understand. I’m going to concentrate my responses regarding AppleScript apps on this thread.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"