{"id":50897775,"url":"https://github.com/wojciech-kulik/XcodeProjectCLI","last_synced_at":"2026-07-03T16:01:26.178Z","repository":{"id":321272805,"uuid":"1085202810","full_name":"wojciech-kulik/XcodeProjectCLI","owner":"wojciech-kulik","description":"A lightweight command-line tool for managing Xcode projects, built entirely in Swift. Also available as a Swift Package.","archived":false,"fork":false,"pushed_at":"2026-05-19T10:35:57.000Z","size":689,"stargazers_count":149,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-08T10:29:07.849Z","etag":null,"topics":["cli","swift","xcode","xcodeproj"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wojciech-kulik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.md","maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":"wojciech-kulik"}},"created_at":"2025-10-28T18:08:22.000Z","updated_at":"2026-05-26T03:04:34.000Z","dependencies_parsed_at":"2025-10-28T20:22:18.264Z","dependency_job_id":"dff1675c-fb26-485c-bae6-154b635a5c8a","html_url":"https://github.com/wojciech-kulik/XcodeProjectCLI","commit_stats":null,"previous_names":["wojciech-kulik/xcodeprojectcli"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/wojciech-kulik/XcodeProjectCLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-kulik%2FXcodeProjectCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-kulik%2FXcodeProjectCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-kulik%2FXcodeProjectCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-kulik%2FXcodeProjectCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wojciech-kulik","download_url":"https://codeload.github.com/wojciech-kulik/XcodeProjectCLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciech-kulik%2FXcodeProjectCLI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35092185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","swift","xcode","xcodeproj"],"created_at":"2026-06-16T01:31:30.079Z","updated_at":"2026-07-03T16:01:26.171Z","avatar_url":"https://github.com/wojciech-kulik.png","language":"Swift","funding_links":["https://github.com/sponsors/wojciech-kulik"],"categories":["cli"],"sub_categories":[],"readme":"[![Homebrew Version](https://img.shields.io/homebrew/v/xcp?color=FBB03F\u0026logo=homebrew)](https://formulae.brew.sh/formula/xcp)\n[![SPM](https://img.shields.io/github/v/release/wojciech-kulik/XcodeProjectCLI?color=F05138\u0026logo=swift\u0026logoColor=white\u0026label=SPM)](https://github.com/wojciech-kulik/XcodeProjectCLI/releases)\n[![min macOS](https://img.shields.io/badge/macOS-13.0+-silver?logo=apple)](#)\n[![CI Status](https://img.shields.io/github/actions/workflow/status/wojciech-kulik/XcodeProjectCLI/build-and-test.yml?logo=githubactions\u0026logoColor=white)](https://github.com/wojciech-kulik/XcodeProjectCLI/actions/workflows/build-and-test.yml)\n[![codecov](https://codecov.io/gh/wojciech-kulik/XcodeProjectCLI/graph/badge.svg?token=KYAVYEWYU6)](https://codecov.io/gh/wojciech-kulik/XcodeProjectCLI)\n\n# XcodeProjectCLI\n\nA fast, lightweight command-line tool for managing Xcode projects, built entirely in Swift.\n\nEasily integrate it into your development workflow or automate complex refactoring tasks with just a few commands.\n\n💚 Powered by the excellent [XcodeProj](https://github.com/tuist/XcodeProj) library from [Tuist](https://github.com/tuist).\n\n## 🚀 Features\n\n```\nOVERVIEW: XcodeProjectCLI\n\nUSAGE: xcp \u003csubcommand\u003e\n\nOPTIONS:\n  --version               Show the version.\n  -h, --help              Show help information.\n\nTARGET SUBCOMMANDS:\n  list-targets            List project targets.\n  set-target              Set target for existing file.\n\nGROUP SUBCOMMANDS:\n  add-group               Add group.\n  delete-group            Delete group.\n  move-group              Move group.\n  rename-group            Rename group.\n\nFILE SUBCOMMANDS:\n  add-file                Add file to specified targets.\n  delete-file             Delete file.\n  move-file               Move file.\n  rename-file             Rename file.\n\nBUILD SETTINGS SUBCOMMANDS:\n  get-build-setting       Get build setting.\n  set-build-setting       Set build setting.\n\nASSETS SUBCOMMANDS:\n  add-image-asset         Add image asset.\n  add-data-asset          Add data asset.\n  add-color-asset         Add color asset.\n  list-assets             List all assets.\n  move-asset              Move asset.\n  delete-asset            Delete asset.\n\n  See 'xcp help \u003csubcommand\u003e' for detailed help.\n```\n\n## 📦 Installation\n\n```bash\nbrew install xcp\n```\n\n## 🛠️ Building from Source\n\n1. Clone the repository.\n2. Navigate to the project directory.\n3. Build the project and install:\n\n   ```bash\n   make install\n   ```\n\n4. Verify the installation:\n\n   ```bash\n   xcp --version\n   ```\n\n## ⚙️ Use as a Library\n\nYou can also use XcodeProjectCLI as a library in your macOS Swift projects, enabling you to create your own automations.\n\nHere's a simple example of how to integrate it:\n\n```swift\nimport XcodeProject\n\nlet projectPath = \"/path/to/YourProject.xcodeproj\"\nlet xcodeProject = try Project(xcodeProjectPath: projectPath)\n\n// Sample operation:\ntry project.groups.addGroup(\"path/relative/to/xcodeproj/NewGroup\".asInputPath)\ntry project.save()\n```\n\n## 🤓 My Other Projects\n\n- [Snippety](https://snippety.app) - Snippets manager for macOS \u0026 iOS\n- [FlashSpace](https://github.com/wojciech-kulik/FlashSpace) - Fast virtual workspace manager for macOS\n- [Smog Poland](https://smog-polska.pl) - Air quality monitoring app for Poland\n- [xcodebuild.nvim](https://github.com/wojciech-kulik/xcodebuild.nvim) - Neovim plugin for building Xcode projects\n\n[xcodebuild.nvim]: https://github.com/wojciech-kulik/xcodebuild.nvim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciech-kulik%2FXcodeProjectCLI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwojciech-kulik%2FXcodeProjectCLI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciech-kulik%2FXcodeProjectCLI/lists"}