Support Xcode 27 simulator launch via DeviceHub #2995
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 207 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2995"
general
weight: 0.35
brentleyjones
Xcode 27 removed
Simulator.appfrom the Xcode bundle.Xcode.app/Contents/Developer/Applications/no longer exists; the apps moved toXcode.app/Contents/Applications/, and the simulator GUI is now hosted byDeviceHub.app(com.apple.dt.Devices).boot_simulatorinapple_simulator.template.pyhardcodes:On Xcode 27 that path does not exist, so
openfails and thecheck=Trueraises, breakingbazel runof any simulator*_applicationtarget with anNSFilePath=.../Contents/Developer/Applications/Simulator.apperror.Change
simctl bootrather than relying on launchingSimulator.appwith-CurrentDeviceUDIDas the boot trigger (DeviceHub does not boot a device on launch). This works on every Xcode version; an already-booted device exits non-zero and is ignored.Simulator.app, fall back toDeviceHub.appunderContents/Applications, and warn if neither is present. The window is cosmetic forbazel run, so a missing/failing launcher no longer fails the run.wait_for_sim_to_boot(simctl bootstatus) still gates success, so behavior is unchanged on older Xcodes.Testing
python3 -m py_compileon the changed template.Contents/Developer/Applications/removed;Simulator.appgone;DeviceHub.apppresent underContents/Applications/).