build_sim_name_proj
Build an app for a specific simulator using a project file, scheme, and simulator name. Requires projectPath, scheme, and simulatorName to execute. Use to streamline Xcode app builds for targeted testing environments.
Instructions
Builds an app from a project file for a specific simulator by name. IMPORTANT: Requires projectPath, scheme, and simulatorName. Example: build_sim_name_proj({ projectPath: '/path/to/MyProject.xcodeproj', scheme: 'MyScheme', simulatorName: 'iPhone 16' })
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. | |
projectPath | Yes | Path to the .xcodeproj file (Required) | |
scheme | Yes | The scheme to use (Required) | |
simulatorId | No | UUID of the simulator (optional) | |
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 |