You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: iOS emulator AX command is disabled despite serve-sim support #9923
orca emulator ax rejects iOS Simulator targets even though the bundled serve-sim helper exposes an accessibility tree endpoint for the active session.
What happened?
The command fails before querying the helper:
{
"ok": false,
"error": {
"code": "emulator_unsupported",
"message": "accessibilityTree is not supported by the ios emulator backend"
}
}
This leaves agent-driven iOS emulator control without structured UI discovery, so agents must rely primarily on screenshot-based coordinate estimation.
How can we reproduce it?
Run Orca from main on macOS.
Attach an iOS Simulator to a worktree with orca-dev emulator attach <udid> --worktree <selector> --json.
Run orca-dev emulator ax --device <udid> --worktree <selector> --json.
Observe exit code 1 and emulator_unsupported.
Expected behavior
Return the raw iOS accessibility tree for the active Simulator session, as already exposed by serve-sim's /ax endpoint.
Root cause
The iOS backend advertises accessibilityTree: false and has no explicit AX implementation.
Detached session parsing does not derive the /ax endpoint when the helper omits axUrl.
The runtime does not route the active worktree session's AX endpoint to the backend.
Activity