compile_asset_catalog
Compile asset catalogs into .car files for iOS, macOS, and watchOS builds, specifying app icons, target devices, and minimum deployment target.
Instructions
Compiles an asset catalog (.xcassets) using actool
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": {
"catalogPath": "<catalogPath>",
"outputDir": "<outputDir>"
},
"name": "compile_asset_catalog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appIcon | No | Name of the app icon set to include | |
| platform | No | Target platform (default: iphoneos) | |
| outputDir | Yes | Directory where compiled assets should be placed | |
| catalogPath | Yes | Path to the asset catalog (.xcassets directory) | |
| targetDevices | No | Target devices (default: ['iphone', 'ipad']) | |
| minDeploymentTarget | No | Minimum deployment target version (default: 14.0) |