Skip to content

Allow x86_64 simulator builds for Intel Macs - #363

Draft
simonhamp wants to merge 1 commit into
mainfrom
x86_64-sim-arch
Draft

Allow x86_64 simulator builds for Intel Macs#363
simonhamp wants to merge 1 commit into
mainfrom
x86_64-sim-arch

Conversation

@simonhamp

Copy link
Copy Markdown
Member

What

Removes EXCLUDED_ARCHS[sdk=iphonesimulator*] = x86_64 from both the Debug and Release build configurations in the bundled Xcode project.

Why

The exclusion forced simulator builds to arm64 only, so the app could not be built or run on the iOS Simulator on Intel Macs.

This pairs with the companion work in nativephp/php-bin-mobile that ships x86_64 simulator slices — now that the PHP runtime has an x86_64 simulator slice, there's no reason for the Xcode project to keep excluding that arch.

Notes

Apple Silicon builds are unaffected: Xcode still picks arm64 for the simulator there. On Intel Macs, the simulator now resolves to x86_64 instead of failing to find a valid architecture.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant