Skip to content

iOS Simulator integration (macOS): agent drives a shared simulator, screenshots and recordings #248

Closed

Description

@currentbits

Inspired by Synara's iOS Simulator integration.

On macOS, let a thread's agent share/control the iOS Simulator: boot a device, install/launch the app from the worktree build, inject input, capture screenshots and recordings for verification, and attach them as run artifacts. Pairs with the embedded browser preview (#155) for mobile projects.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (Apple round): Xcode 27 ships mcpbridge — the live Xcode process as an MCP server with build, real compiler diagnostics, debugger, simulator, previews (~20 tools). For Apple-platform projects, attach Xcode's MCP surface to the thread so the verification loop (#296) uses real builds and simulator runs instead of blind edits.

  3. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round-19 primary-source update.

    Synara 0.7.2 (15 Aug) rebuilt this from "screenshots and recordings" into a first-class right-dock pane:

    • Live H.264 video of the chosen simulator, mouse + keyboard, hardware buttons.
    • Auto-opens the pane when an agent launches an app.
    • Provider-agnostic device tools: list / boot / install / launch / open URL / tap / swipe / type / press / screenshot / read the accessibility tree / scroll to a named element. Input and URL actions have explicit approval boundaries.
    • Implementation detail worth copying: a source-shipped Swift/ObjC helper compiled with the user's Xcode, digest-cached, deny-by-default Seatbelt, bounded binary WebSocket frames, drop frames for slow clients, persist ownership so a Synara crash does not orphan the simulator.

    T3 Code shipped serve-sim in the same window: build iOS apps with annotation tools, drawings, screenshots and screen recordings (https://x.com/Baconbrix/status/2066737896552632372).

    Scope this issue up to the live pane + accessibility tree + Seatbelt helper. Drawing-on-a-still-image is a separate interaction (composer markup), not simulator-specific.

  4. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 24: Apple already exposes build/test/sim to any MCP client (`xcrun mcpbridge`, Xcode 26.3). XcodeBuildMCP is the thicker community server. Filed #488 — one-click pair on iOS repos. Do the pair before we ship a first-party H.264 pane; a lot of "agent drives the simulator" falls out of MCP for free.

  5. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 27 intel: Orca shipped Android emulator control via scrcpy, explicitly framed as cross-platform parity with their iOS Simulator flows. scrcpy gives screen mirror + input injection over adb with no app-side integration, which is much cheaper than a custom Android bridge. For Solenta: when the iOS flow lands, the Android counterpart should be scrcpy-based from the start rather than a second custom integration.

  6. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Aug 25, 2026
  7. currentbits commented on Aug 26, 2026

    @currentbits
    OwnerAuthor

    Landed from Solenta thread "iOS Simulator integration (macOS): agent drives a shared sim". Closed on merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions