view_simulator_screen
Capture and retrieve the current simulator screen as image data for testing or debugging iOS, macOS, tvOS, watchOS, or visionOS projects directly within Xcode workflows.
Instructions
Capture and view the current simulator screen (returns image data)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deviceId | No | Device UDID or name of the simulator (optional, uses booted device if not specified) |