Skip to content

Add ensure-simulator command for iOS scoped device sets #169

Closed

Description

@thymikee

Summary

Please add a first-class command to ensure a simulator exists (and optionally boot it) inside a scoped iOS device set.

Version

  • agent-device 0.7.6

Problem

Today this needs custom simctl --set ... create ... scripting outside agent-device, which complicates robust multi-tenant orchestration.

Proposed command

Something like:

  • agent-device ensure-simulator --platform ios --device "iPhone 17 Pro" --runtime com.apple.CoreSimulator.SimRuntime.iOS-26-2 --ios-simulator-device-set <path>

Optional behavior flags:

  • --boot
  • --reuse-existing (default)

Expected output

JSON response should include at least:

  • udid
  • device
  • runtime
  • ios_simulator_device_set
  • whether it was created vs reused

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