Skip to content

fix(mac): default to universal binary for distribution builds#1396

Merged
steipete merged 3 commits intoopenclaw:mainfrom
JustYannicc:fix/macos-x86-universal-build
Jan 22, 2026
Merged

fix(mac): default to universal binary for distribution builds#1396
steipete merged 3 commits intoopenclaw:mainfrom
JustYannicc:fix/macos-x86-universal-build

Conversation

@JustYannicc
Copy link
Copy Markdown
Contributor

Summary

Fixes #1393

The distribution script (package-mac-dist.sh) now defaults BUILD_ARCHS to all, producing universal binaries that run natively on both Apple Silicon and Intel Macs.

Problem

Release builds done on ARM Macs only included ARM binaries because package-mac-dist.sh inherited the host architecture default ($(uname -m)) from package-mac-app.sh.

Solution

Set BUILD_ARCHS=all as the default in package-mac-dist.sh (the release distribution script), which creates universal binaries containing both arm64 and x86_64 slices.

This is a one-line change that ensures future releases automatically include Intel Mac support without requiring manual intervention.

Testing

  • Build on ARM Mac with scripts/package-mac-dist.sh
  • Verify output contains both architectures: lipo -info dist/Clawdbot.app/Contents/MacOS/Clawdbot

@steipete steipete self-assigned this Jan 21, 2026
Clawd and others added 2 commits January 22, 2026 00:28
Closes openclaw#1393

The distribution script (package-mac-dist.sh) now defaults BUILD_ARCHS to 'all',
producing universal binaries that run natively on both Apple Silicon and Intel Macs.

Previously, the script inherited the host architecture default from package-mac-app.sh,
which meant release builds done on ARM Macs only included ARM binaries.
@steipete steipete force-pushed the fix/macos-x86-universal-build branch from 54ba8a3 to 1cce83b Compare January 22, 2026 00:28
@steipete steipete merged commit 39b375e into openclaw:main Jan 22, 2026
@steipete
Copy link
Copy Markdown
Contributor

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 2b254a9
  • Merge commit: 39b375e

Thanks @JustYannicc!

zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
…rsal-build

fix(mac): default to universal binary for distribution builds
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.

[Bug]: New release does not include x86 version

2 participants