fix(mac): default to universal binary for distribution builds#1396
Merged
steipete merged 3 commits intoopenclaw:mainfrom Jan 22, 2026
Merged
fix(mac): default to universal binary for distribution builds#1396steipete merged 3 commits intoopenclaw:mainfrom
steipete merged 3 commits intoopenclaw:mainfrom
Conversation
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.
54ba8a3 to
1cce83b
Compare
Contributor
|
Landed via temp rebase onto main. 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1393
The distribution script (
package-mac-dist.sh) now defaultsBUILD_ARCHStoall, 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.shinherited the host architecture default ($(uname -m)) frompackage-mac-app.sh.Solution
Set
BUILD_ARCHS=allas the default inpackage-mac-dist.sh(the release distribution script), which creates universal binaries containing botharm64andx86_64slices.This is a one-line change that ensures future releases automatically include Intel Mac support without requiring manual intervention.
Testing
scripts/package-mac-dist.shlipo -info dist/Clawdbot.app/Contents/MacOS/Clawdbot