Repository navigation
Simulator Devices
A simulator pane puts a live iOS Simulator on the canvas, inside Xcode's device bezel. You and your agents use the same device: an agent can install the app it just built, tap through a flow and take screenshots, while you watch every step and take over with the mouse whenever you like. When something looks wrong, draw on the screen and send the marked-up picture straight to the agent.

Simulator panes need macOS with Xcode and at least one simulator installed. For a walkthrough of an agent testing an app this way, see Let Agents Show You.
- Click Simulator at the top right of the window. It opens as a tab in the files panel.
- Click a simulator in the list. Canopy boots it if it is shut down.
The simulator opens docked in the files panel. Click Move to canvas on its helper bar to put it on the canvas, where it moves and scales with your other panes. On the canvas, Open in panel docks it again, and Pin to screen pins it to the top right corner at the same size while you pan and zoom (Unpin puts it back). Drag a pinned or canvas simulator's header to move it and any edge or corner to resize it.
The Simulator button shows only when Xcode's xcrun simctl is installed.
An agent opens one next to itself from its terminal:
canopy pane new sim booted --wire # the booted simulator, wired to you
canopy pane new sim <udid> # a specific simulator- Click to tap. Drag to swipe. Scroll with two fingers on a trackpad.
- After a click, your typing goes to the simulator (US keyboard layout).
- Press
Cmd+Vto type the clipboard. PressCmd+Shift+Hfor the Home screen. - Press
Escto give the keyboard back to the canvas. - Click the bezel's side buttons to press them.
The pane header shows the iOS version and the state: Live, Connecting, Screenshot or Recording.
For a docked simulator, drag the Files panel's edge to change the available width. Use Move to canvas to resize the pane directly. Drag any edge or corner of the canvas pane. When you release it, the pane fits the device and its bezel. Use the zoom buttons on the helper bar for smaller steps, Actual size for the device's point size at the canvas zoom, or Default size to reset the pane to 340 × 700 on screen. Actual size is available after the live screen connects.
- Click Shut down in the controls below the phone to turn off the booted device and return to the device picker. A toast confirms when Xcode finishes.
- Right-click the pane and choose Shut down and close to turn off the device and remove the pane in one step.
- Click Close to remove the pane and leave the device running. To close a selected pane from the keyboard, press
Delete. If the simulator has keyboard focus, pressEscfirst.
Hover over or select a pane with a booted device to show its controls in a row below the phone. The bar hides while annotating. In the device's own window, the bottom bar also offers Bring back.
| Button | What it does |
|---|---|
| Home | Goes to the Home screen. |
| Refresh | Tries the live view again. |
| Screenshot | Saves a PNG to the Desktop. The toast shows the file. |
| Record | Records a video to the Desktop. Click Stop recording to stop. |
| Annotate | Freezes the screen so you can pin comments and draw. |
| Shut down | Turns off the device and shows the device picker. |
To point out a problem on a booted simulator, click Annotate in the bar below the device. The screen freezes inside its bezel at the current size. Clicks and drags on the still draw or pin comments. If the device is in its own window, click Bring back first. The tool is the same as the one in the Browser Pane, with the same bar at the bottom of the pane.
- With Select, click a point or drag over an area. A numbered blue pin drops there and a single-line comment box opens beside it. Press
Enterto Add the comment,Cmd+Enterto Send everything queued, orShift+Enterfor a new line. Click a pin to edit its comment. -
Pen, Box and Text draw on the still. Colour and stroke appear only while one of them is on.
Cmd+ZandShift+Cmd+Zundo and redo. - Hold
Spaceto use the live simulator. Release it to capture a fresh still with your existing annotations in the same device coordinates.
Send goes to the sole wired agent. If multiple agents are wired or only unwired agents are available, use the Choose agent icon beside Connect in the helper bar. The menu lists wired agents first. The agent receives the annotated screenshot, then the device name, runtime and numbered comments with their coordinates in device points. Text labels are listed in the message.
Click Stop annotating or press Esc to leave. With marks or comments on the still, choose Keep editing or Discard.
| Button | What it does |
|---|---|
| Zoom out, Zoom in | Scales the device down by 0.8 or up by 1.25. |
| Actual size, Default size | Fits the live device at its point size or resets the pane to its opening size. |
| Pop out | Moves the device to its own window. Bring back returns it. |
| Choose simulator | Shows every simulator. Xcode's version is at the top. |
| Open in Device Hub | Opens Xcode's Device Hub. |
| Pin to screen or Move to canvas | Switches between a fixed screen position and moving with the canvas. |
| Connect | Starts a wire from the pane. |
| Close | Removes the pane and leaves the device running. |
Agents use device points, with 0 0 at the top left.
canopy pane tap p3 120 400 # tap
canopy pane swipe p3 200 700 200 200 300 # swipe in 300 ms
canopy pane type p3 hello # type text
canopy pane press p3 home # also lock, power, siri, volume-up, volume-down, action
canopy pane read p3 # device, state, size, a fresh screenshot path, the last 12 actionsAn agent can drive a pane that is off screen: Canopy connects to the device for 15 seconds for each command. Agents install and launch apps with Xcode's own xcrun simctl.
While the pane is on screen, Canopy starts a small helper in a sandbox with no network access. The helper shares the simulator's screen with Canopy directly, so a still screen costs nothing. The helper stops 5 seconds after the pane leaves the screen (so panning past it does not restart it), and at once when the pane closes or Canopy quits.
-
The toolbar has no Simulator button. Xcode's
simctlis missing. Install Xcode and open it once. - "No simulators." No simulator exists. Add one in Xcode's Device Hub.
- The header says Screenshot, not Live. The live view failed, and the toast says why. Click Refresh in the bottom bar to try again.
- "This simulator no longer exists." The simulator was deleted in Xcode. Click Choose another.
- The device does not rotate. Rotation is not supported.
These pages come from docs/wiki. Change them with a pull request. Edits made on the wiki are overwritten.
Get started
Guides
The canvas
Panes
Agents
Make it yours
Reference
Help