Build Test
build_testRun Xcode unit or UI tests for a project and scheme on a simulator, returning xcodebuild exit code, stdout, and stderr.
Instructions
Run xcodebuild test for the scheme on a simulator.
Use when: running unit/UI tests. For end-to-end Maestro flows use maestro_test. Returns: {ok, exit_code, stdout, stderr} from xcodebuild.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | Xcode scheme name to build, e.g. 'MyApp'. | |
| project | Yes | Path to the .xcodeproj or .xcworkspace to build, e.g. /path/App/App.xcodeproj. | |
| device_name | No | Simulator device name, e.g. 'iPhone 16'. | iPhone 16 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||