Replies: 2 comments 2 replies
-
It's rather interesting that Apple accepted your app during notarizing, but then |
Beta Was this translation helpful? Give feedback.
-
I don't have an answer why this specific dll is not signed. Normally, developer don't care about publishing a single file, when app is bundled anyway. But in case of MacOS signing and sandboxing (which is optional), single file publish makes whole process much easier. Also allowing to merge x64 and arm64 outputs into one universal. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I am trying to deploy my Multiplatform Application (I have it on Linux and Windows Working), but when it comes to MacOS I can't get the code signing to work.
The app does show up in the PC and if I run it without verification signature it works perfectly but when I try to open it with code verification I get the following:
To Reproduce
I am following https://docs.avaloniaui.net/docs/deployment/macOS for the creation of my GitHub Action and I have the following Build Setup (I have added the '--deep' to the code signing commands since I saw online that that could help fix the issue but it doesn't):
I did some extra troubleshooting, and
codesign --verify --verbose=2 EZCMS.app
shows that one of the DLLs is not signed:I also checked the stapled Notarization and it seems to be fine:
But then when I run a more in depth check it still gives me an error:
I am out of ideas on what else to check to keep troubleshooting, any guidance is appreciated.
Expected behavior
No response
Avalonia version
11.2.0
OS
macOS
Edit Feb/01/2025
I followed @maxkatz6 suggestion of adding the PublishSingleFile and it helped but it was still giving weird signing errors for the icon not being signed etc. I got tired of running GitHub Actions for each change and I ran it on my Mac by running the following script (I basically moved the actions to bash)
and it magically works (while the same steps in GitHub Actions doesn't).
Beta Was this translation helpful? Give feedback.
All reactions