get_device_logs
Retrieve detailed logs from iOS, macOS, tvOS, watchOS, or visionOS simulators. Filter logs by device ID, time interval, or custom predicate for efficient debugging and testing within Xcode workflows.
Instructions
Get device logs from the simulator
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deviceId | No | Device UDID or name of the simulator (optional, uses booted device if not specified) | |
last | No | Time interval for logs (e.g., "1m", "5m", "1h") | 5m |
predicate | No | Log filter predicate (optional) |