Successfully Notarized in xCode, but rejected using spctl command-line

Hi, I've succesfully notarzied an OSX app using xcode (see attached image).

But when running " %spctl -a -vvv -t install Meetverse_UTFSM_MAC_v091.app" I get

Meetverse_UTFSM_MAC_v091.app: rejected
source=Unnotarized Developer ID

%codesign -v --verbose Meetverse_UTFSM_MAC_v091.app shows :

Meetverse_UTFSM_MAC_v091.app: valid on disk
Meetverse_UTFSM_MAC_v091.app: satisfies its Designated Requirement 

When I try to open the app in other computers Gatekeeper shows "Can't be opened , Apple cannot check for malicious software"

I've tried exporting several times the notarized app, with different builds.

Any help would be appreciated, thank you.

This is not an installer package, so you should not be passing -t install to spctl.

I generally recommend that you not use spctl to test for Gatekeeper compatibility. Rather, use the process I described in Testing a Notarised Product.

If that reveals a problem, work through the steps described in Resolving Trusted Execution Problems.

There are a bunch of other resources available in the Trusted Execution Resources pinned post, and the other pinned posts it links to.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Successfully Notarized in xCode, but rejected using spctl command-line
 
 
Q