Files
Conor Luddy fa77fca6b4 fix(xcode27): require idb-companion 1.5.1+ instead of shimming DEVELOPER_DIR
Upstream fixed the Xcode 27 SimulatorKit path in idb-companion 1.5.1
(facebook/idb#953 and the equivalent that landed on main): it now prefers
Contents/SharedFrameworks and falls back to the legacy path. That is the same
thing our DEVELOPER_DIR shim faked from the outside, so the shim is deleted
rather than maintained.

Verified on Xcode 27 / iOS 27.0 with companion 1.5.7 and no shim: reads and HID
writes both work, importing `common` no longer mutates DEVELOPER_DIR, and xcrun
works from inside scripts that import it (the shim used to break every `xcrun
simctl` call in the same process).

The shim never shipped - it is on main but no tagged release contains it - so
this breaks no released user.

sim_health_check.sh now diagnoses the dependency instead:
- idb CLI missing is a failure, not a warning; every tap/swipe/keystroke needs it
- idb-companion is version-checked against a 1.5.1 floor, with the exact
  `brew tap facebook/fb` remediation (it is no longer in Homebrew core)
- new check for the Xcode 27 framework layout and for stale companion entries in
  /tmp/idb/state, which wedge every later idb call with "Connection refused"
- flags and offers to remove the obsolete shim directory
- adds --json, the one script that was missing it despite SKILL.md's claim

Refs #100, #101
2026-09-12 08:20:21 +01:00
..