I am trying to export my AppleScript as an application and have enabled my developer ID to sign it. I, however, get an error the following error:
Any ideas?
Thank you and best regards,
pd
NOTE: macOS Sonoma 14.7.
I am trying to export my AppleScript as an application and have enabled my developer ID to sign it. I, however, get an error the following error:
Any ideas?
Thank you and best regards,
pd
NOTE: macOS Sonoma 14.7.
Note the phrase “unable to build chain to self-signed root”. That suggests that you’re missing an intermediate certificate, as discussed in Fixing an untrusted code signing certificate.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Hi DTS Engineer, thank you for the reply. Unfortunately, some of this is over my head. All I want to do is be able to sign a simple AppleScript app so that I can avoid the recurring security prompts that appear when it tries to copy a folder from the local desktop to a network share.
I mean, I tried following the link you provided. I ran the security find-identity -p codesigning command and the results show that "1 identities found" and "1 valid identities found".
I then tried running the command to code sign the "MyTrue" app and the reply I got was, Warning: unable to build chain to self-signed root for signer "<My Developer Info>" MyTrue: errSecInternalComponent
I have downloaded and installed all available intermediate certificates, set my cert to always trust, set the corresponding intermediate to always trust and still no luck.
Additional info: my cert will be used to sign a few AppleScript apps for use on a few internal computers without any kind of external distribution. Maybe I am not creating the right kind of certificate?
Can someone PLEASE talk me through this.
Quick update. I managed to create a self-signed certificate using the steps on the following link:
Although I think I have managed to get this to work (using the self-signed certificate), I still can't sign my app using the (Apple-issued) certificate and I'd still like to know why.