wails icon indicating copy to clipboard operation
wails copied to clipboard

following the manual, failed to do notarization on mac

Open gerri0098 opened this issue 11 months ago • 3 comments

Have you read the Documentation Contribution Guidelines?

Description

Im using wails to build a mac app, it runs well on my macbook, then I sent it to my friend, it cannot be run on his mac. then I followed the wails official maunal, and tried to do code signing and notarization using gon tools. but the gon tools give me an error back like below,

NSLocalizedDescription Notarization of MacOS applications using altool has been decommissioned. Please use notarytool. See: https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool

seems the gon tool is already outdated, is there any other solutions for this problem?

thank you

BTW: I build the app with a free developer apple id

Self-service

  • [ ] I'd be willing to address this documentation request myself.

gerri0098 avatar Mar 01 '24 14:03 gerri0098

Anyway, I have found some answers saying that only enrolled apple developer ID can do Notarization, but it's kind of confusing that I built a mac app using flutter also with the free developer id, the flutter app can run on other mac computer well, how come flutter can make an app running on other mac ?

gerri0098 avatar Mar 01 '24 15:03 gerri0098

If you find out, let us know!

leaanthony avatar Mar 02 '24 06:03 leaanthony

You can take a look at how Github is signing the code for their cli tool. They simply use a bash script that is available here.
You could include something like this in your workflow and do the signing yourself.

They are calling this script in the output of the go-releaser run, but, it is very easy to do, mac gives you all the tools you need to sign an app. More information about their workflow here

wizzymore avatar Mar 02 '24 17:03 wizzymore