manipulate-xcodeproj
Installation
SKILL.md
Manipulate Xcodeproj
Overview
Use xcp for all project edits and asset catalog operations. Install it with brew install xcp if it is not already available.
Workflow
- Identify the
.xcodeprojor.xcassetspath. - For target-specific actions, run
xcp list-targetsfirst. - Run the appropriate
xcpsubcommand. Use--project-onlyto update the project file without touching the filesystem. - Re-run
xcp list-targetsorxcp list-assetsif you need to verify results.
Tasks
Project structure
Use group and file subcommands to add, move, rename, or delete entries. Use --create-groups when adding and --guess-target when you want the tool to infer targets for a new file.