How to sign a Mac application with a Developer ID certificate? #721
-
I would like to sign a Mac application with a Developer ID certificate, the information I have found is for applications developed with XCode, or Electron applications for which there are utilities. Can someone tell me the steps to sign a version 1 Wails application or give me any clues? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It would be the same way as signing any other Go application. I've seen success with Gon |
Beta Was this translation helpful? Give feedback.
-
After several attempts it seems to work, but I get a little out of the gon instructions. First I had to generate an app-specific password following these instructions. The password generated is the one that I have included in the configuration file, not the password corresponding to the apple id. My sign.json config file: {
"source": [
"./eBooky.app"
],
"bundle_id": "es.axon.ebooky",
"apple_id": {
"username": "{my apple id email]",
"password": "{the app generated password}"
},
"sign": {
"application_identity": "Developer ID Application: Pedro Marban"
},
"dmg": {
"output_path": "ebooky v1.2.dmg",
"volume_name": "eBooky"
}
} I omitted the zip because zips can't be stapled. I said it seemed to work because I have not managed to install it on older versions of MacOS, but that is subject for another question. |
Beta Was this translation helpful? Give feedback.
It would be the same way as signing any other Go application. I've seen success with Gon