feat: add macOS Apple Silicon (arm64) build support#36
Open
Myking1983 wants to merge 2 commits into
Open
Conversation
Add a new `build-macos-arm64` CI job using the `macos-14` runner (GitHub-hosted Apple Silicon) so every release ships a native arm64 binary alongside the existing x86_64 one. Also update `build.py` to detect the host architecture via `platform.machine()` and embed `arm64`/`x86_64` in the output filename, so local builds are named consistently with CI artifacts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Help macOS users pick the right binary (arm64 vs x86_64) in both the English and Chinese README quick-start sections. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Problem
The current CI only builds for
macos-latest(GitHub-hosted Intel runner), so macOS releases ship withmacos-x86_64binaries only. Apple Silicon users must either run under Rosetta 2 or build from source — but the prebuilt binary also has a codesign issue that prevents it from launching on macOS 15+.Solution
build-macos-arm64CI job using themacos-14runner (GitHub-hosted Apple Silicon / M1).KiroProxy-{VERSION}-macos-x86_64— IntelKiroProxy-{VERSION}-macos-arm64— Apple Silicon (native, no Rosetta needed)build.pyto detect host architecture viaplatform.machine()and embedarm64/x86_64in local build output names, keeping them consistent with CI artifact names.Changes
.github/workflows/build.ymlbuild-macos-arm64job; rename x86_64 artifact; updatereleasejob deps and download tablebuild.pyget_arch()helper; pass arch into release package namesTest plan
KiroProxy-*-macos-arm64appears in the release assetsfileoutput:Mach-O 64-bit executable arm64)🤖 Generated with Claude Code