get_runtime_output
Retrieves runtime console output from the latest Xcode project run, with optional regex filtering to find specific lines.
Instructions
Fetches and returns the most relevant runtime console output from the project's most recent run.
Output becomes available 2 seconds after the app terminates.
Args:
project_path: Path to an Xcode project (*.xcproject) or workspace (*.xcworkspace)
regex_filter: Optional regex pattern to find matching lines in the output
max_lines: Maximum number of matching lines to return (default 20)
Returns: JSON string with structured console output including errors, warnings, context, and full_log_path pointing to the complete unfiltered plaintext log file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| regex_filter | No | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |