record_video
Capture videos of iOS Simulator directly using simctl. Specify codec, display, mask, and output path to record and save simulator sessions for testing or debugging.
Instructions
Records a video of the iOS Simulator using simctl directly
Input Schema
Name | Required | Description | Default |
---|---|---|---|
codec | No | Specifies the codec type: "h264" or "hevc". Default is "hevc". | |
display | No | Display to capture: "internal" or "external". Default depends on device type. | |
force | No | Force the output file to be written to, even if the file already exists. | |
mask | No | For non-rectangular displays, handle the mask by policy: "ignored", "alpha", or "black". | |
output_path | No | Optional output path (defaults to ~/Downloads/simulator_recording_$DATE.mp4) |