Skip to content

fix(mas): add application-groups entitlement so the sandboxed app launches#35

Merged
julia-kafarska merged 1 commit into
mainfrom
fix/mas-launch-app-groups
Jul 12, 2026
Merged

fix(mas): add application-groups entitlement so the sandboxed app launches#35
julia-kafarska merged 1 commit into
mainfrom
fix/mas-launch-app-groups

Conversation

@julia-kafarska

Copy link
Copy Markdown
Member

Problem

The Mac App Store build crashed on launch (Apple guideline 2.1(a) — no window or menu bar item appeared).

Root cause

Electron communicates with its helper processes over a Mach service named <TeamID>.<BundleID>.MachPortRendezvousServer. A sandboxed app can only register that service if the name is covered by an App Group. The MAS entitlements were missing com.apple.security.application-groups, so the main process aborted at startup:

FATAL mach_port_rendezvous_mac.cc: bootstrap_check_in
8Y2UTZ2NBZ.io.out-loud.outloud.MachPortRendezvousServer: Permission denied (1100)

…before creating any UI.

Fix

  • Add com.apple.security.application-groups = 8Y2UTZ2NBZ.io.out-loud.outloud (the app-identifier form per the Electron MAS guide).
  • Bump MAS buildVersion → 2.1.1 for a fresh App Store Connect upload.

Verification

Reproduced the crash by ad-hoc re-signing the built app with the sandbox entitlements and launching it (died instantly, exit 133). After adding the entitlement, the same test launches fully — main process + GPU/renderer/network helpers spawn and the TTS model loads. verify:mas passes; the distribution-signed universal pkg embeds the entitlement.

🤖 Generated with Claude Code

…nches

The Mac App Store build crashed on launch (Apple guideline 2.1(a): no window
or menu bar item appeared). Electron communicates with its helper processes
over a Mach service named <TeamID>.<BundleID>.MachPortRendezvousServer, and a
sandboxed app can only register that service if the name is covered by an App
Group. Without com.apple.security.application-groups the main process aborted
at startup (bootstrap_check_in: Permission denied) before creating any UI.

Add the entitlement (value = the app-identifier, TeamID.BundleID, per the
Electron MAS guide) and bump the MAS build number to 2.1.1 for a fresh upload.
Verified locally: an ad-hoc sandboxed re-sign now launches fully (main window +
all helper processes) instead of crashing instantly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@julia-kafarska
julia-kafarska merged commit dc6a2fe into main Jul 12, 2026
1 check passed
@julia-kafarska
julia-kafarska deleted the fix/mas-launch-app-groups branch July 12, 2026 10:47
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

Successfully merging this pull request may close these issues.

1 participant