test_sim_name_ws
Execute tests on a specified simulator for an Xcode workspace using xcodebuild, parse xcresult output, and manage build configurations and data paths.
Instructions
Runs tests for a workspace on a simulator by name using xcodebuild test and parses xcresult output.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
configuration | No | Build configuration (Debug, Release, etc.) | |
derivedDataPath | No | Path where build products and other derived data will go | |
extraArgs | No | Additional xcodebuild arguments | |
preferXcodebuild | No | If true, prefers xcodebuild over the experimental incremental build system, useful for when incremental build system fails. | |
scheme | Yes | The scheme to use (Required) | |
simulatorName | Yes | Name of the simulator to use (e.g., 'iPhone 16') (Required) | |
useLatestOS | No | Whether to use the latest OS version for the named simulator | |
workspacePath | Yes | Path to the .xcworkspace file (Required) |