macos-app.sh --universal: one SixNG.app for Apple Silicon and Intel #5
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!5
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/5/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@vladbondarenko97 on GitHub · 2026-11-21 21:50 UTC · original
vladbondarenko97:macos-universal→master· +21 −4 · 2 files · 1 commits · merged 2026-11-21 23:03 UTCFollow-up to #2.
scripts/macos-app.sh --universal [out-dir]buildsaarch64-apple-darwinandx86_64-apple-darwin(withMACOSX_DEPLOYMENT_TARGET=11.0) and joinssixng-guiandsixngwithlipo, so oneSixNG.appruns on both kinds of Mac. Without the flag nothing changes (host build). Needs both targets:rustup target add aarch64-apple-darwin x86_64-apple-darwin; libopus cross-builds through CMake without extra setup.Tested on Apple Silicon:
lipo -infoshowsx86_64 arm64for both binaries,minos 11.0on both slices; the x86_64 slice run under Rosetta (arch -x86_64) lists an indexed archive identically to the arm64 slice, and the x86_64 GUI starts. Not run on a real Intel Mac. Build time is about 2.5 min for both targets.🤖 Generated with Claude Code