I've been looking for solutions and am only able to find vague answers without solutions in various electron related issue trackers.
Error: Command failed: codesign --sign Mac Developer: FIRST LAST (UNIQUE_ID) -fv /Users/framerate/code/dist/Project-darwin-x64/Project.app/Contents/Resources/app/dist/Project-darwin-x64/Project.app/Contents/Frameworks/Electron Framework.framework/Electron Framework
/Users/framerate/code/dist/Project-darwin-x64/Project.app/Contents/Resources/app/dist/Project-darwin-x64/Project.app/Contents/Frameworks/Electron Framework.framework/Electron Framework: bundle format is ambiguous (could be app or framework)
electron-builder: 3.17.1
electron-prebuilt: 0.37.8
node: 6.0.0
npm: 3.8.8
OSX: 10.11.5 Beta (15F31a)
Any suggestion would be appreciated, since the signing is all inside electron-builder.
For the record:
codesign -s 'Mac Developer: FIRST LAST (UNIQUE_ID)' -f dist/Project-darwin-x64/Project.app --deep
Seems to work, but since I want to use electron-builder to auto package the update files and DMG, I'm not sure how to manually inject the codesign.
Thanks!
Well, apparently after upgrading to the newest XCode, this magically went away. Sorry for the false fire alarm, guys.
@framerate I am curios — did you restart machine?
I did not! Just reinstalled latest xcode and opened it/closed it once :)
On May 10, 2016 12:21 AM, "Vladimir Krivosheev" [email protected]
wrote:
@framerate https://github.com/framerate I am curios — did you restart
machine?—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/electron-userland/electron-builder/issues/388#issuecomment-218078426
I too ran into this issue until I realized I had the wrong version for electron declared. Hope that helps.
electron-packager . "App Name" --platform=darwin --arch=x64 --version=YOUR_ELECTRON_VERSION --app-bundle-id="com.AppName" --app-version="1.0.0" --build-version="1.0.100"
@FrenchBully you saved my ass on this one. Thanks for this.
@FrenchBully im using 1.6.6 version of electron and this is not working :(
Most helpful comment
I too ran into this issue until I realized I had the wrong version for electron declared. Hope that helps.
electron-packager . "App Name" --platform=darwin --arch=x64 --version=YOUR_ELECTRON_VERSION --app-bundle-id="com.AppName" --app-version="1.0.0" --build-version="1.0.100"