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.

Why electron-builder sign mas/mas-dev app by Developer ID Application?

See original GitHub issue
  • Version: 22.6.0
  • Electron Version: 8.2.5
  • Electron Type (current, beta, nightly): current
  • Target: mas/mas-dev

Why electron-builder sign mas/mas-dev app by Developer ID Application certificate?

> app@1.0.0 dist /electron
> electron-builder "--mac" "mas-dev"

  • electron-builder  version=22.6.0 os=19.4.0
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=mas arch=x64 electron=8.2.5 appOutDir=dist/mas-dev
  • signing         file=dist/mas-dev/App.app identityName=Developer ID Application: Org (12345) identityHash=ABC provisioningProfile=none
  • signing         file=dist/mas-dev/App.app identityName=Mac Developer: Name (54321) identityHash=ABC provisioningProfile=/certs/macOS_App_Development.provisionprofile

It seems the first signing is unnecessary.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:22 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
mahnunchikcommented, Oct 10, 2020

TKoNiRAJTeo

1reaction
mificommented, Mar 26, 2021

Update: the Code Signature Invalid crash when running app was not caused by this. It was because I was trying to run a mas build locally on my Mac, which I am 99% sure used to work fine last year, but now it doesnt. I’m guessing Apple changed something. Now to get it to run locally I have to use mas-dev and generate a development provisioning profile just for my computer and then make mas-dev use that instead. Then it starts, even though electron-builder signs it twice (first with «Developer ID Application», then 3rd party. So I guess it’s not a critical bug since it will just overwrite the first signature (thus taking more time to sign twice). I can also confirm same issue in 22.10.5

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Unnotarized Developer ID" - Facin… | Apple Developer Forums
"Unnotarized Developer ID" - Facing issue while code signing my electron application using the apple developer certificates.
Read more >
Code Signing - electron-builder
Developer ID Application: and Developer ID Installer to sign app and installer for distribution outside of the Mac App Store. Apple Development: or...
Read more >
Packaging and distributing Electron applications using ...
electron-builder is a CLI tool that helps us create multi-platform distributions for Electron applications. It supports macOS, Windows, ...
Read more >
electron-builder打包mas/mas-dev启动崩溃的解决办法
electron应用如果要发布到app store需要使用electron-builder ... identity: "你的app证书,3rd Party Mac Developer Application冒号后面的名称", ...
Read more >
electron-osx-sign - npm
Codesign Electron macOS apps. ... To sign development version: ... the Mac App Store, have the signing identity for development installed in ...
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