manipulate-xcodeproj
22
总安装量
13
周安装量
#16635
全站排名
安装命令
npx skills add https://github.com/khoi/skills --skill manipulate-xcodeproj
Agent 安装分布
claude-code
11
codex
10
opencode
10
github-copilot
9
antigravity
7
Skill 文档
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.
Targets and build settings
Use list-targets to discover names, set-target to update file memberships, and build-setting commands to read or update configuration values.
Asset catalogs
Operate on .xcassets directories directly for image, data, and color assets. Paths are relative to the .xcassets root.
References
- Command and flag reference:
references/xcp-cli.md - For flags and usage specifics, prefer
xcp help <subcommand>as the source of truth.