KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

Please sign and notarize macOS app #686

Open mfilippov opened 1 year ago

mfilippov commented 1 year ago

I can't run macOS app I got message:

ASP: Security policy would not allow process: 39917, /Applications/StructuredLogViewer.app/Contents/MacOS/StructuredLogViewer.Avalonia
KirillOsenkov commented 1 year ago

I don’t know how to do that.

mfilippov commented 1 year ago

This GitHub action contains example of app sign and notarization https://github.com/marketplace/actions/xcode-notarization

hez2010 commented 1 year ago

To acquire the ApiKey used in app sign, developers must pay $99 per year to Apple. I don't think it is feasible for a free open-source project. I would instead recommend you sign the app by yourself using a self-issued certificate.

KirillOsenkov commented 1 year ago

I did buy a Comodo code signing certificate to sign Windows .exes here: https://comodosslstore.com/code-signing/comodo-individual-code-signing-certificate

Could I use that to sign or is that not applicable on Mac?

KirillOsenkov commented 1 year ago

I also have a SignPath certificate for open source projects provided by SignPath. Wondering if I can use that?

@SabotageAndi would you know?

mfilippov commented 1 year ago

No, for macOS sign, you need Apple Developer Subscription. It is also required to publish an app to the macOS AppStore. I have this subscription. I could publish this app as a free app from my subscription if it is suitable for you.

KirillOsenkov commented 1 year ago

That would be nice, thanks for the offer!

mfilippov commented 1 year ago

Cool I will try. The version v2.1.820 crashed on macOS.

jwosty commented 9 months ago

This is the only thing preventing distribution via Homebrew: https://github.com/Homebrew/homebrew-cask/pull/156909#issuecomment-1747695162

In the meantime, I've put the cask in a third party repo (https://github.com/jwosty/homebrew-structuredlogviewer), so you can install it like so brew install --cask jwosty/structuredlogviewer/structuredlogviewer