[cli][menu-bar] Allow installing iOS device builds on simulators#354
Draft
gabrieldonadel wants to merge 1 commit into
Draft
[cli][menu-bar] Allow installing iOS device builds on simulators#354gabrieldonadel wants to merge 1 commit into
gabrieldonadel wants to merge 1 commit into
Conversation
…ulators Adds an experimental, opt-in conversion that re-tags and re-signs an iOS device build so it can run on the simulator, instead of dead-ending with an error. - eas-shared: convertAppToSimulatorAsync re-tags every Mach-O's build-version platform to iOS-Simulator (thinning fat slices to arm64), updates the Info.plist, and re-signs ad-hoc inner-out. Operates on a copy so the cached device build stays intact for physical-device installs. Rejects FairPlay (App Store) builds, and is macOS-only. - cli: install-and-launch gains --force-simulator. Without it, a device build targeting a simulator now throws a typed DEVICE_BUILD_ON_SIMULATOR error. - menu-bar: honors an explicit simulator selection for a device build and, on the DEVICE_BUILD_ON_SIMULATOR error, prompts the user to attempt the conversion before re-installing with --force-simulator. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M7gak91W71GtRkJHtNmPoH
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.
Adds an experimental, opt-in conversion that re-tags and re-signs an iOS device build so it can run on the simulator, instead of dead-ending with an error.
Why
How
Test Plan