A fast, lightweight command-line tool for managing Xcode projects - built entirely in Swift.
Easily integrate it into your development workflow or automate complex refactoring tasks with just a few commands.
💚 Powered by the excellent XcodeProj library from Tuist.
OVERVIEW: XcodeProjectCLI
USAGE: xcp <subcommand>
OPTIONS:
--version Show the version.
-h, --help Show help information.
TARGET SUBCOMMANDS:
list-targets List project targets.
set-target Set target for an existing file.
GROUP SUBCOMMANDS:
add-group Add a group to the project.
delete-group Delete a group from the project.
move-group Move a group to a different location within the project.
rename-group Rename a group within the project.
FILE SUBCOMMANDS:
add-file Add a file to specified targets in the project.
delete-file Delete a file from the project.
move-file Move a file to a different location within the project.
rename-file Rename a file within the project.
See 'xcp help <subcommand>' for detailed help.
Planned features:
- Simple build settings management
- Synchronized folder commands
brew install wojciech-kulik/tap/xcp-
Clone the repository.
-
Navigate to the project directory.
-
Build the project and install:
make install
-
Verify the installation:
xcp --version
- Snippety - Snippets manager for macOS & iOS
- FlashSpace - Fast virtual workspace manager for macOS
- Smog Poland - Air quality monitoring app for Poland
- xcodebuild.nvim - Neovim plugin for building Xcode projects