Skip to content

boot-device fails on Xcode 27 (replaces Simulator.app with Device Hub) #406

Description

@etnikbeqiri1

Problem

boot-device hardcodes open -a Simulator.app and defaults write com.apple.iphonesimulator, both of which fail on Xcode 27 beta because:

  1. Xcode 27 removes Simulator.app entirely — it is replaced by Device Hub.app (com.apple.dt.Devices). open -a Simulator.app errors out.
  2. Xcode 27 no longer reads the com.apple.iphonesimulator preferences domain. defaults write there is a no-op.
  3. SimulatorKit.framework moved from /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/ to /Applications/Xcode.app/Contents/SharedFrameworks/. The prebuilt simulator-server binary crashes at launch because it looks for the framework at the old path.

Steps to reproduce

  1. Install Xcode 27 beta (/Applications/Xcode-beta.app/)
  2. Run boot-device with any iOS simulator UDID
  3. Observe: Simulator.app not found → tool falls through with no UI opened; defaults write silently fails; simulator-server crashes on SimulatorKit resolution

Additional context

Only Xcode 27+ is affected. Xcode 26.x and earlier work fine. The ax-service binary also crashes on iOS 27.0 simulators with -[SimDevice booted]: unrecognized selector (separate issue, not covered here).

Suggested fix direction

  • Fall back from open -a Simulator.app to open -b com.apple.dt.Devices when Simulator.app is absent
  • Wrap defaults write com.apple.iphonesimulator in a try/catch — it is cosmetic and non-essential
  • Auto-create a symlink from the old SimulatorKit path to the new location

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions