What certificate should be created for an AppleScript application?

For years I've written AppleScript scripts and apps. Seems lately Mac has locked down what you can share and I'm tired of the prompts wether I want to run an AppleScript app or script.

In Script Editor on export (File > Export...) there is an option to Code Sign but in Certificates, Identifiers & Profiles what is the correct certificate that I should use to Code Sign my AppleScript app if I plan on distribution? I've searched the docs but I'm not finding an answer.

To clarify also I'd like to possibly sell the application on the App Store. If that is not allowed and I can still Code Sign I thought about GumRoad.

So that leads to my next question. Are AppleScript applications written in Script Editor allowed to be sold on the App Store? I do have an Apple Developer account.

For distribution in the App Store (and to keep Gatekeeper happy), the code-signing certificate needs to be from Apple, so you can use the one for your Developer Account. AppleScript apps are allowed in the App Store, the limiting factor would be what it wants to access, the same as pretty much any other app.

So I should choose Apple Distribution or Mac App Distribution as the certificate?

Yes, presuming that your goal is to upload the app to the Mac App Store. If you want to distribute your app independently, you’ll need a Developer ID signing identity.

More more details on the specific names, see Signing a Mac Product For Distribution. This also has instructions for creating an installer package for your app, which you’ll need for uploading to the store.

Share and Enjoy

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

What certificate should be created for an AppleScript application?
 
 
Q