I have noticed that Code Signing appears to not work when trying to sign with my Developer ID in Script Debugger.
I have successfully used my Developer ID to sign applets using the codesign
command-line tool as well as Script Editor.
After saving an code signed applet with Script Debugger, I don’t see a _CodeSignature
folder in the Contents
folder of the application bundle.
Using the Receigen application the analyze the applet, I don’t see a Certificate Chain listed for the Signature or anything that should be there for a code signed app.
When trying to codesign
a non-signed applet exported by Script Debugger using the command-line tool, I get the error:
/Blah/Blah/Blah.app: code object is not signed at all
In subcomponent: /Blah/Blah/Blah.app/Contents/Script Debugger.plist
As a test, I was able to successfully codesign
an applet of the same script exported by Script Editor (after running xattr -cr
on the app bundle).