fix: enable Universal Binary build for Intel Mac compatibility#3
Open
mazdabeam wants to merge 1 commit intoiad1tya:mainfrom
Open
fix: enable Universal Binary build for Intel Mac compatibility#3mazdabeam wants to merge 1 commit intoiad1tya:mainfrom
mazdabeam wants to merge 1 commit intoiad1tya:mainfrom
Conversation
- Add ARCHS = "$(ARCHS_STANDARD)" to all four build configurations (Project-level Debug/Release and Target-level Debug/Release) - Fix invalid MACOSX_DEPLOYMENT_TARGET value "26.1" to "14.6" in Project-level Debug and Release configurations - Set ONLY_ACTIVE_ARCH = NO in Project Debug so all architectures are compiled even in debug builds Verified: xcodebuild produces a fat binary containing both x86_64 (Intel) and arm64 (Apple Silicon) slices. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideConfigures the Xcode project to build Quitty as a Universal Binary for both Apple Silicon and Intel Macs by adjusting architectures, deployment target, and debug build settings in the project.pbxproj. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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
ARCHS = "$(ARCHS_STANDARD)"to all four build configurations (Project-level Debug/Release and Target-level Debug/Release) to produce a Universal Binary containing botharm64(Apple Silicon) andx86_64(Intel) slicesMACOSX_DEPLOYMENT_TARGETvalue26.1→14.6in Project-level Debug and Release configurationsONLY_ACTIVE_ARCH = NOin Project Debug so all architectures are compiled even in debug buildsVerification
Build confirmed with
xcodebuild -project Bye.xcodeproj -scheme Quitty -configuration Release→ BUILD SUCCEEDEDTest plan
xcodebuild -project Bye.xcodeproj -scheme Quitty -configuration Releasecompletes with BUILD SUCCEEDEDlipo -info Quitty.app/Contents/MacOS/Quittyshows bothx86_64andarm64🤖 Generated with Claude Code
Summary by Sourcery
Ensure the macOS app builds as a universal binary compatible with both Apple Silicon and Intel Macs by correcting build settings.
Enhancements: