Skip to content

Simulator targeting: a run can take a simulator another project is using, and mav ui can resolve a different simulator than the active run #157

Done

Description

@bitomule

Without a simulator pool:

  • A mav run from project A resolved, booted into and locked a simulator that project B had created and was using (named for B, launched by B's target_command). B's next run failed with sim_locked … project=<A> until A released it.
  • From project B, mav ui tree with the same environment as B's runs resolved a different booted simulator than the one B's mav run used. .mav/runs/<id>/target-command.json of B's last run was rewritten with the other UDID.

Expected: a run only targets the simulator its own target_command names, and mav ui targets the active run's simulator.


Found while porting the end-to-end flows of a large UIKit + SwiftUI iOS app to mav flows.
Environment: mav 0.35.0 (darwin-arm64 release), AXe 2.0.4, baguette 0.2.12, idb_companion 1.1.8 (refused by mav doctor, floor 1.6.4), Xcode 26.4, iOS 26.4 simulator (23E244), iPhone 17 Pro, macOS 26.6.2, Apple Silicon. Debug simulator build of the app.

Activity

  1. added 2 commits that reference this issue on Dec 2, 2026
    066706b
    d7fe680
  2. added a commit that references this issue on Dec 3, 2026
    be464ff
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions