Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Product Name Starting with a Number in Electron Builder for Code Signing, Notarization, and DMG Stapling #8736

Open
shamsulrafi opened this issue Dec 11, 2024 · 0 comments

Comments

@shamsulrafi
Copy link

  • Electron-Builder Version:
    25.1.8
  • Node Version:
    22.10.0
  • Electron Version:
    32.1.2
  • Electron Type (current, beta, nightly):
  • Target:
    build for mac

We are using Electron Builder for code signing, notarization, and stapling the DMG file. However, we are encountering an issue when the product name starts with a number. Is there any limitation related to this?

Below is the error message on the same.

packaging       platform=darwin arch=x64 electron=32.2.7 appOutDir=dist/mac
  • signing         file=dist/mac/3Test.app platform=darwin type=distribution identity=xxxxxxxxxxxxxx provisioningProfile=none

Failed to display codesign info on your application with code: 1
 
3Test.app: No such process
 
Failed to codesign your application with code: 1
 
3Test.app: No such process
 
 
3Test.app: No such process
  failedTask=build stackTrace=Error: Failed to display codesign info on your application with code: 1
                                                                                                                                                                                                                         3Test.app: No such process
                                                                                                                                                                                                                         Failed to codesign your application with code: 1
                                                                                                                                                                                                                         3Test.app: No such process
                                                                                                                                                                                                                         3Test.app: No such process
                                                                                                                                                                                                                             at /Code/node_modules/@electron/notarize/src/check-signature.ts:46:11
    at Generator.next ()
    at fulfilled (/Code/node_modules/@electron/notarize/lib/check-signature.js:28:58)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
From previous event:
    at processImmediate (node:internal/timers:491:21)
From previous event:
    at readDirectoryAndSign (/Code/node_modules/app-builder-lib/src/macPackager.ts:496:29)
    at MacPackager.signApp (/Code/node_modules/app-builder-lib/src/macPackager.ts:506:11)
    at MacPackager.doSignAfterPack (/Code/node_modules/app-builder-lib/src/platformPackager.ts:346:21)
    at MacPackager.doPack (/Code/node_modules/app-builder-lib/src/platformPackager.ts:331:7)
    at MacPackager.pack (/Code/node_modules/app-builder-lib/src/macPackager.ts:215:9)
    at Packager.doBuild (/Code/node_modules/app-builder-lib/src/packager.ts:459:9)
    at executeFinally (/Code/node_modules/builder-util/src/promise.ts:12:14)
    at Packager.build (/Code/node_modules/app-builder-lib/src/packager.ts:393:31)
    at executeFinally (/Code/node_modules/builder-util/src/promise.ts:12:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant