feat(bundler): codesign nested code on macos#8259
feat(bundler): codesign nested code on macos#8259lucasfernog merged 7 commits intotauri-apps:1.xfrom
Conversation
|
I think we should take this one step forward and apply this logic to the whole .app bundle instead, so it also signs user resources and macOS custom files on v2. |
After doing some article search, I think I was just reimplementing the Maybe we should take other approaches to sign those files, like providing a |
|
I'm really interested in solving this issue (probably in 1.x branch since it is for a live project). Would we rather have code signing on macOS:
|
tested this for spacedrive, which has a bunch of dylib inside the libraries folder
Perhaps I overlook it in the documentation, but I am facing this exact issue and you could point me out to such Worst case I can code sign the |
|
Did you find a solution to this? I'm running into this also. |
|
No, still a problem to my knowledge. I plan to use https://github.com/lando/code-sign-action to sign the |
|
This isn't great. It's causing issues with onnx and opencv libraries if you want to make release builds using them. Isn't there a way to disable the unsafe library check and it still passes notarization? |
|
I found some workaround using the feature to add "frameworks" in the |
This is exactly how I solved it also. If you specify dylibs in Frameworks, Tauri will a) code sign it, b) properly @rpath it into the Frameworks folder. I can confirm it passes Apple Notarization also and suspect even Gatekeeper. |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___)Other information
Related: #8075 #8173
References:
Notes:
/MacOS,/Frameworks,/PlugIns,/XPCServices,/Helpers)test.frameworkin tauri testing.