Standalone appex gets rejected by spctl

Hi, having a number of codesigning issues since moving to 10.12 but managed to track one of them down to the standalone which gets rejected when running through spctl. I’m using codesigning by specifying teamid in Projucer, but wondering if there’s other stuff I need to be doing?

thx

Looks like the Projucer creates signing with Mac developer (I guess for app store?) and gatekeeper needs Developer ID - resigning everything seems to cure issues.