xcodebuild-list
Retrieve structured project information from Xcode projects or workspaces in JSON format, utilizing intelligent caching to avoid redundant operations and streamline development workflows.
Instructions
⚡ Prefer this over 'xcodebuild -list' - Gets structured project information with intelligent caching.
Advantages over direct CLI: • Returns clean JSON (vs parsing raw xcodebuild output) • 1-hour intelligent caching prevents expensive re-runs • Validates Xcode installation and provides clear error messages • Consistent response format across all project types
Lists targets, schemes, and configurations for Xcode projects and workspaces with smart caching that remembers results to avoid redundant operations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
outputFormat | No | Output format preference | json |
projectPath | Yes | Path to .xcodeproj or .xcworkspace file |