xcode_diagnostic_analyzer
Analyzes Xcode build logs and error messages to classify errors, provide fix-it suggestions, link to documentation, and offer common solutions for Swift compiler, linker, and build system errors.
Instructions
Analyzes Xcode build logs and error messages, providing:
Error classification and explanation
Fix-it suggestions matching Apple's recommendations
Related documentation links
Common solutions for the specific error
Supports Swift compiler errors, linker errors, and build system errors.
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": {
"buildLog": "<buildLog>"
},
"name": "xcode_diagnostic_analyzer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional: Additional context about the project (Swift version, target platform) | |
| buildLog | Yes | The Xcode build log or error message to analyze | |
| errorCode | No | Optional: Specific error code (e.g., 'cannot find type', 'ambiguous use of') |