Skip to content

fix: build macOS per-arch so the claude sidecar notarizes#388

Merged
Xoshbin merged 1 commit into
mainfrom
fix/macos-per-arch-notarization
Jun 2, 2026
Merged

fix: build macOS per-arch so the claude sidecar notarizes#388
Xoshbin merged 1 commit into
mainfrom
fix/macos-per-arch-notarization

Conversation

@Xoshbin

@Xoshbin Xoshbin commented Jun 2, 2026

Copy link
Copy Markdown
Owner

The bundled claude runtime embeds a per-slice Info.plist; codesign
corrupts the non-native slice's seal when re-signing a universal
binary, so notarization rejected the x86_64 claude (and cascaded to
the app binary). Build macOS per-arch like Windows/Linux instead, each
bundling its single-arch claude, which re-signs cleanly. Updater
bundles are renamed per-arch and published to their own darwin slots.

The bundled claude runtime embeds a per-slice Info.plist; codesign
corrupts the non-native slice's seal when re-signing a universal
binary, so notarization rejected the x86_64 claude (and cascaded to
the app binary). Build macOS per-arch like Windows/Linux instead, each
bundling its single-arch claude, which re-signs cleanly. Updater
bundles are renamed per-arch and published to their own darwin slots.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a comment in download-sidecars.mjs to clarify that universal macOS builds (via lipo) are intended only for local development. It explains that the release pipeline builds macOS per-architecture because codesigning a merged FAT binary corrupts the per-slice Info.plist seal, which fails Apple notarization. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@Xoshbin Xoshbin merged commit 58d931d into main Jun 2, 2026
1 check passed
@Xoshbin Xoshbin deleted the fix/macos-per-arch-notarization branch June 2, 2026 21:23
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