Skip to content

[cli][menu-bar] Allow installing iOS device builds on simulators#354

Draft
gabrieldonadel wants to merge 1 commit into
mainfrom
claude/elegant-bohr-7rd3xd
Draft

[cli][menu-bar] Allow installing iOS device builds on simulators#354
gabrieldonadel wants to merge 1 commit into
mainfrom
claude/elegant-bohr-7rd3xd

Conversation

@gabrieldonadel

@gabrieldonadel gabrieldonadel commented Jun 25, 2026

Copy link
Copy Markdown
Member

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.

Why

How

Test Plan

…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
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.

2 participants