question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

codesign - bundle format is ambiguous: on symlink files and binary executables

See original GitHub issue

A 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:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gmcdevcommented, Jun 20, 2016

“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!!

0reactions
develarcommented, Jun 21, 2016

Please try 5.5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

codesign - bundle format is ambiguous: on symlink files and binary ...
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 ......
Read more >
osx 10.9.5 code signing V2 - signing a framework with: bundle ...
The codesign command cannot recognize the format of the bundle after dropbox resolves the symlinks. The solution is to not store the bundle ......
Read more >
MacOS X application codesign gets - Apple Developer
Hello,. My application uses multiple frameworks (in 'MyApp.app/Frameworks' directory). Each framework in turn is dependent on one or more other frameworks ...
Read more >
bundle format is ambiguous」的问题| I'm TualatriX - 图拉鼎
Perhaps a framework was copied incorrectly so the symlinks it contained were converted to normal files. 简单的说,如果Framework 里面的文件引用, ...
Read more >
bundle format is ambiguous (could be app or framework)
OS X codesign failed: bundle format is ambiguous (could be app or framework) ... This error can be caused by many things but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found