-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing --deep flag prevents signing of packages that contain other binaries #125
Comments
Hi @eriedl-kiban, thanks for filing the issue! We utilize |
I'm using electron-builder to package and sign my app. I also just realized there is another project electron-macos-sign. My apologies for posting to the wrong project. |
Looks like it is the same project. So the issue still persists :) |
@eriedl-kiban electron-builder uses another npm name because sometimes fork changes are required. Currently, latest version is used. |
@eriedl-kiban oh, would you mind providing your Electron version and a debug log of your signing process with |
Your comment gave me a hint to try something else in my configuration. In my initial build configuration I put my additional files in the folder |
Strange, as far I see, walk started from |
I don't think the issue is that the files are not found, but that codesign does not expect any other files in the root of |
Hi @eriedl-kiban, my understanding from the Apple doc (table 3-1 at https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html, retrieved Jan 19, 2017) is that pretty much all components should be placed at their corresponding locations:
And I think placing your files outside the Amend: |
Yes, that was indeed the problem. Thank you so much for providing this. It might be helpful to add this link to the general documentation of electron-builder for when build MacOS apps. I moved now my executables to |
Adding
--deep
to theargs
array infunction signApplicationAsync (opts)
allows signing of MacOS apps that contain other executables. If this flag is not included the signing fails with the error message "code object is not signed at all".The text was updated successfully, but these errors were encountered: