claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Desktop: approve Claude's access to several iOS simulators with one prompt

Open Katsz opened this issue 3 days ago • 0 comments

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

We keep a small pool of iOS simulators that exist only for agents (5 to 7 per Mac, created by our own tooling with simctl). Agents lease one per task. Two of the pools create their simulator on first use, so new devices appear over time.

In the desktop app's Code tab, access to a simulator is granted per device (per UDID), one prompt each, and there is no way to give that consent ahead of time or for several devices at once:

  1. An agent working unattended stalls the first time it touches each pool simulator: the tool call is refused until someone clicks Allow. With on-demand pools this happens mid-task, after the person has walked away.
  2. Prompts cannot be batched. We tried raising them for the whole pool in one sitting, with the user present and willing: several calls at once produce one prompt, and the rest are refused with "another request for access came only a short time before". Retrying after about 20 and 50 seconds was still refused; it went through after roughly 100 seconds. Approving seven simulators takes about ten minutes of waiting.
  3. No setting helps. A permissions.allow rule for the simulator tool does not skip the device prompt, and the documented policy keys only switch the tool off.

Proposed Solution

One prompt for a list: "Allow Claude to use these N simulators?", raised by a single tool call that passes several UDIDs. The user still decides, once, and sees every device named.

Alternative Solutions

  • A documented, supported pre-approval list (by UDID) that the app reads, so setup tooling can ask the user once and record the answer. Today the grants are stored in the app's config file and loaded only at start; that file is undocumented, and tools should not be writing to it.
  • Trust by origin instead of by device: for example every simulator in a named CoreSimulator device set. A pool in its own set never holds anything personal, and this would also cover simulators created later, which a UDID list cannot.
  • At minimum, queue prompts during an explicit batch instead of refusing them.

Trust by simulator name is not what we are asking for: names can collide across runtimes, and anyone can rename a device.

What we do today: agents are told that a refusal on a new simulator means the user is being asked, and to fall back to simctl when nobody answers. That keeps them from giving up, but anything that needs taps still waits for a person.

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

  1. A developer sets up the simulator pool on a new Mac and wants agents to be able to use all of it.
  2. They ask an agent to request access for the pool. One prompt lists the seven simulators; they click Allow.
  3. Later they hand an agent a task and leave. The agent leases a pool simulator it has never used, attaches the panel, and carries on without waiting for anyone.

Additional Context

  • Claude desktop app 7.37095.0, Code tab, macOS 27.2.1. Simulators on iOS 17.5 to 27.2.
  • Grants survive simctl erase (the UDID stays), so each Mac pays this once per simulator. The cost is the first use of each device, and every device an on-demand pool creates later.
  • Loosely related: #105226 (approval pop-ups that permission settings do not reach, for computer use).

Katsz avatar Dec 01 '26 20:12 Katsz