Repository navigation
Conversation
The Simulator has no MetalFX (link it on device SDKs only), no code signing flags to check (treat the app as debuggable and debugged), and runs on the Mac's kernel, where RX memory comes from vm_allocate + vm_protect instead of the device's JIT path. Device builds are unchanged: every change is behind targetEnvironment(simulator) / TARGET_OS_SIMULATOR or an sdk=iphoneos* setting. Co-Authored-By: Claude Opus 5.5 <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.
These changes let Madeira build and start in the iOS Simulator, which makes UI and library work possible without a device. Every change is behind
targetEnvironment(simulator)/TARGET_OS_SIMULATORor ansdk=iphoneos*setting, so device builds are unchanged:vm_allocate+vm_protectinstead of the device's JIT path.signal_arm64_ios.c,virtual_ios.c): device-only paths are skipped in the Simulator.The patch came from Triptych's Madeira tree. It applies cleanly to current
main, but I didn't build it here (no full Xcode project build on this machine). Games themselves still need a device.🤖 Generated with Claude Code