analyze_file
Identify potential issues in source files using Xcode's static analyzer, with optional scheme and SDK selection.
Instructions
Analyzes a source file for potential issues using Xcode's static analyzer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | No | Optional SDK to use for analysis (e.g., 'iphoneos', 'iphonesimulator'). Defaults to automatic selection based on available devices. | |
| scheme | No | Optional scheme to use. If not provided, will use the first available scheme. | |
| filePath | Yes | Path to the source file to analyze. Can be absolute, relative to active directory, or use ~ for home directory. |