Skip to content

Conversation

@mikhailswift
Copy link
Member

@mikhailswift mikhailswift commented Oct 28, 2025

Noticed replicated cluster shell was causing my shell to open in x84_64 using Rosetta on my Macbook.

Inspecting the CLI binary showed it's a universal binary but only contained an x86_64 build.

$ file /opt/homebrew/bin/replicated
/opt/homebrew/bin/replicated: Mach-O universal binary with 1 architecture: [x86_64:Mach-O 64-bit executable x86_64]
/opt/homebrew/bin/replicated (for architecture x86_64):	Mach-O 64-bit executable x86_64

After adding arm64 as an arch to the goreleaser config and running goreleaser release --skip=publish locally shows the built universal binary now contains an arm64 build as well.

$ file ./replicated
./replicated: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
./replicated (for architecture x86_64):	Mach-O 64-bit executable x86_64
./replicated (for architecture arm64):	Mach-O 64-bit executable arm64

Also reported in #489

@mikhailswift mikhailswift merged commit 9270622 into main Oct 28, 2025
5 checks passed
@mikhailswift mikhailswift deleted the chore/build-arm64 branch October 28, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants