Missing --deep flag prevents signing of packages that contain other binaries
See original GitHub issueAdding --deep
to the args
array in function 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”.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Resolving common notarization issues - Apple Developer
The signature of the binary is invalid. To debug signing issues for anything besides an installer package, use the codesign utility to test...
Read more >Cannot manually compile with 'bmake install' due to missing ...
Hi, I am trying to manually compile lang/clang on OS X (because no binary package is provided in Darwin/trunk). This fails with the...
Read more >makepkg - ArchWiki
If a needed public key for a package is missing, the PKGBUILD will most likely contain a validpgpkeys entry with the required key...
Read more >Xcode Build Settings
A convenient reference of available build settings for Xcode projects.
Read more >Chapter 5. Basics - Debian
The Debian packaging workflow to create a Debian binary package involves ... useful to include buildflags.mk in debian/rules to set the build flags...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Contents/MacOS
as they are indeed helper apps and tools.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
Contents
dir’s the reason of causing this issue?Amend:
electron-osx-sign
currently starts walking fromContents
, but may feature file misplacement detection if that may help?