ios_build
Build a scheme of an Xcode project on this Mac (for the iOS Simulator unless destination says otherwise) to check that it compiles. Runs as a background job and returns its jobId; poll ios_build_status with it. Nothing is uploaded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"scheme": "<scheme>"
},
"name": "ios_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheme | Yes | ||
| teamId | No | Apple Developer team ID for signing, when the project has none (DEVELOPMENT_TEAM) | |
| project | Yes | .xcodeproj or .xcworkspace path from ios_projects | |
| deviceId | No | Computer name or id from list_devices. Optional with one computer online or a default set. | |
| buildNumber | No | Sets CURRENT_PROJECT_VERSION | |
| destination | No | xcodebuild -destination; default generic/platform=iOS Simulator | |
| configuration | No | ||
| workSessionId | No | Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work. |