list-targets
Display all build targets and their product types (app, framework, test) in an Xcode project to understand project structure and dependencies.
Instructions
List all build targets in an Xcode project with their product types (app, framework, test, etc.)
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": {
"projectPath": "<projectPath>"
},
"name": "list-targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the .xcodeproj directory |