codesign - bundle format is ambiguous: on symlink files and binary executables
See original GitHub issueA little bit out-of-my league here.
electron-builder successfully signs about twenty files before it bombs out. Since the file was a symlink, I found this line in electron-osx-sign-tf.index.js
and changed it to if (stat.isFile() && !stat.isSymbolicLink() ) {
.
But now it’s bombing on binary-executable files, like Electron Framework
, see DEBUG below.
Makes me think there must be some other problem in my setup. Any suggestions?
electron-osx-sign Signing... ./ELECTRON/dist/osx/AdApp.app/Contents/Resources/app/node_modules/electron-prebuilt/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Electron Framework +72ms Error: Command failed: codesign --sign AdAppMaster --force ./ELECTRON/dist/osx/AdApp.app/Contents/Resources/app/node_modules/electron-prebuilt/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
“Everything is Ok”
asar: true
, solves the problem. This app is internal to our company - I disabled asar so I could debug the app on anyone’s machine. But( embarrassed ), now that I think about it, of course that’s not going to work with codesign.Thank you, develar - your commitment to this project, and your quick response to issues is really, really appreciated. electron-builder FTW!!
Please try 5.5.