Hi! I installed the tweak with Codex++ on macOS and the iOS Simulator entry appears correctly in Codex's right-panel + menu, but clicking it initially did nothing.
Environment:
- macOS
- Codex:
26.429.61741
- Codex++:
0.1.3
- Tweak:
co.bennett.ios-simulator 1.0.0
- Xcode selected:
/Applications/Xcode.app/Contents/Developer
- Booted simulator:
iPhone 17 Pro / iOS 26.0
The Codex++ preload log showed:
[tweak co.bennett.ios-simulator] opening iOS Simulator side panel
[warn] [tweak co.bennett.ios-simulator] ios-sim could not find side panel host
It looks like the current Codex right-panel DOM no longer matches the selector used by the tweak:
const panelHost = tablist.closest(".flex.h-full.min-h-0.flex-col");
I patched it locally to use a more flexible side-panel host lookup, and after that the tweak was able to mount the panel and proceed to simulator startup.
I also hit a second issue on first run: the native helpers are compiled into the tweak source directory:
helpers/sim-capture
helpers/sim-input
Because Codex++ watches the tweak directory, creating those binaries triggered a tweak reload while the capture process was starting. The logs showed the helper starting, then the tweak reloaded and the helper was killed:
ios-sim compiling helper
reloading tweaks (add .../helpers/sim-capture)
stopped main tweak: co.bennett.ios-simulator
ios-sim helper exit null SIGTERM
After I moved/cached the compiled helper binaries under the tweak data directory instead of the watched tweak source directory, startup became stable.
Suggested fixes:
Make right-panel tablist / panel host detection more tolerant of Codex DOM changes.
Compile/cache sim-capture and sim-input outside the watched tweak source directory, e.g. under Codex++ tweak data.
After those local changes, I was able to get:
ios-sim stream meta {
scale: 3,
pointWidth: 402,
pointHeight: 874,
deviceName: "iPhone 17 Pro",
pixelWidth: 1206,
pixelHeight: 2622
}
[sim-input] HID client ready dev=iPhone 17 Pro
Thanks for building this. Very cool idea.
Hi! I installed the tweak with Codex++ on macOS and the
iOS Simulatorentry appears correctly in Codex's right-panel+menu, but clicking it initially did nothing.Environment:
26.429.617410.1.3co.bennett.ios-simulator1.0.0/Applications/Xcode.app/Contents/DeveloperiPhone 17 Pro/ iOS26.0The Codex++ preload log showed:
It looks like the current Codex right-panel DOM no longer matches the selector used by the tweak:
I patched it locally to use a more flexible side-panel host lookup, and after that the tweak was able to mount the panel and proceed to simulator startup.
I also hit a second issue on first run: the native helpers are compiled into the tweak source directory:
Because Codex++ watches the tweak directory, creating those binaries triggered a tweak reload while the capture process was starting. The logs showed the helper starting, then the tweak reloaded and the helper was killed:
After I moved/cached the compiled helper binaries under the tweak data directory instead of the watched tweak source directory, startup became stable.
Suggested fixes:
Make right-panel tablist / panel host detection more tolerant of Codex DOM changes.
Compile/cache sim-capture and sim-input outside the watched tweak source directory, e.g. under Codex++ tweak data.
After those local changes, I was able to get:
Thanks for building this. Very cool idea.