Skip to content

A lightweight command-line tool for managing Xcode projects - built entirely in Swift.

License

Notifications You must be signed in to change notification settings

wojciech-kulik/XcodeProjectCLI

Repository files navigation

XcodeProjectCLI

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.

🚀 Features

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.

⏳ In Progress

Planned features:

  • Simple build settings management
  • Synchronized folder commands

📦 Installation

brew install wojciech-kulik/tap/xcp

🛠️ Building from Source

  1. Clone the repository.

  2. Navigate to the project directory.

  3. Build the project and install:

    make install
  4. Verify the installation:

    xcp --version

🤓 My Other Projects

About

A lightweight command-line tool for managing Xcode projects - built entirely in Swift.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project