run_project_with_user_interaction
Run an Xcode project with an interactive alert dialog to test UI flows, then capture console logs after app termination.
Instructions
Run the app and display an alert dialog for you to interact with it.
The app will run in Xcode/Simulator. Once confirmed running, an alert dialog will appear with an "I'm finished - Terminate App" button.
Click the button when you're done testing → app will be force-stopped
If the app terminates on its own → no force-stop needed
In either case, runtime logs are extracted and returned after a 2-second wait.
Perfect for: Interactive testing, manual QA, debugging UI flows
Args: project_path: Path to an Xcode project/workspace directory scheme: Optional scheme to run. If not provided, uses the active scheme. 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
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scheme | No | ||
| regex_filter | No | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |