Electron-builder: Invalid Bundle Identifier Electron Helper (GPU, Plugin, and Renderer) Mac App Store

Created on 12 Aug 2019  路  3Comments  路  Source: electron-userland/electron-builder

  • Version: 21.2.0
  • Target: macOS App Store
  • Electron Version: 6.0.1

Couldn't find a duplicate of my issue which I feel is odd. Can anyone confirm Electron 6+ on the App Store using electron-builder?

image

Pretty sure the problem is the brackets, I believe the uppercase letters isn't.

Most helpful comment

workaround - change node_modules/app-builder-lib/out/electron/electronMac.js line 178
to

helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix.replace(/[^a-z0-9]/gim,"")}`;

All 3 comments

workaround - change node_modules/app-builder-lib/out/electron/electronMac.js line 178
to

helper.CFBundleIdentifier = `${helperBundleIdentifier}.${postfix.replace(/[^a-z0-9]/gim,"")}`;

I had the same issue, thankfully @gaodeng's solution seems to have worked.

Was this page helpful?
0 / 5 - 0 ratings