Problem
boot-device hardcodes open -a Simulator.app and defaults write com.apple.iphonesimulator, both of which fail on Xcode 27 beta because:
- Xcode 27 removes Simulator.app entirely — it is replaced by Device Hub.app (
com.apple.dt.Devices). open -a Simulator.app errors out.
- Xcode 27 no longer reads the
com.apple.iphonesimulator preferences domain. defaults write there is a no-op.
- 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
- Install Xcode 27 beta (
/Applications/Xcode-beta.app/)
- Run
boot-device with any iOS simulator UDID
- 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
Problem
boot-devicehardcodesopen -a Simulator.appanddefaults write com.apple.iphonesimulator, both of which fail on Xcode 27 beta because:com.apple.dt.Devices).open -a Simulator.apperrors out.com.apple.iphonesimulatorpreferences domain.defaults writethere is a no-op./Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/to/Applications/Xcode.app/Contents/SharedFrameworks/. The prebuiltsimulator-serverbinary crashes at launch because it looks for the framework at the old path.Steps to reproduce
/Applications/Xcode-beta.app/)boot-devicewith any iOS simulator UDIDdefaults writesilently fails;simulator-servercrashes on SimulatorKit resolutionAdditional context
Only Xcode 27+ is affected. Xcode 26.x and earlier work fine. The
ax-servicebinary also crashes on iOS 27.0 simulators with-[SimDevice booted]: unrecognized selector(separate issue, not covered here).Suggested fix direction
open -a Simulator.apptoopen -b com.apple.dt.Deviceswhen Simulator.app is absentdefaults write com.apple.iphonesimulatorin a try/catch — it is cosmetic and non-essential