🍺 BREW Explorer

← all formulae

xcodegen

brew install xcodegen v2.45.4 MIT

Swift command-line tool that generates Xcode projects from a YAML/JSON specification file and directory structure.

Why you might care

Eliminates manual Xcode project maintenance by treating .pbxproj as generated output, making it easier to manage complex multi-target builds, merge conflicts, and CI/CD automation. Particularly valuable for teams wanting version control-friendly project definitions and reproducible builds without GUI project file editing.

Categories

Alternatives

Tuist CocoaPods Bazel Fastlane
26.8k
30-day installs · #198
76.5k
90-day · #216
200.2k
365-day · #281
8.5k
★ GitHub stars · updated 2mo ago

GitHub topics

ci cli generator specification swift xcode xcodeproj xcodeproject yaml

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Tuist",
    "CocoaPods",
    "Bazel",
    "Fastlane"
  ],
  "build_dependencies": [],
  "categories": [
    "build-system",
    "code-generation"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Generate your Xcode project from a spec file and your folder structure",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:44+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "xcodegen",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-04-14T13:23:00Z",
  "github_readme_excerpt": "\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/yonaskolb/XcodeGen\"\u003e\n\u003cimg src=\"Assets/Logo_animated.gif\" alt=\"XcodeGen\" /\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/yonaskolb/XcodeGen/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/yonaskolb/xcodegen.svg\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://swiftpackageindex.com/yonaskolb/XcodeGen\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyonaskolb%2FXcodeGen%2Fbadge%3Ftype%3Dplatforms\" alt=\"Swift Package Manager Platforms\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://swiftpackageindex.com/yonaskolb/XcodeGen\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyonaskolb%2FXcodeGen%2Fbadge%3Ftype%3Dswift-versions\" alt=\"Swift Versions\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/yonaskolb/XcodeGen/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/yonaskolb/XcodeGen.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# XcodeGen\n\nXcodeGen is a command line tool written in Swift that generates your Xcode project using your folder structure and a project spec.\n\nThe project spec is a YAML or JSON file that defines your targets, configurations, schemes, custom build settings and many other options. All your source directories are automatically parsed and referenced appropriately while preserving your folder structure. Sensible defaults are used in many places, so you only need to customize what is needed. Very complex projects can also be defined using more advanced features.\n\n- \u2705 Generate projects on demand and remove your `.xcodeproj` from git, which means **no more merge conflicts**!\n- \u2705 Groups and files in Xcode are always **synced** to your directories on disk\n- \u2705 Easy **configuration** of projects which is human readable and git friendly\n- \u2705 Easily copy and paste **files and directories** without having to edit anything in Xcode\n- \u2705 Share build settings across multiple targets with **build setting groups**\n- \u2705 Automaticall",
  "github_repo": "yonaskolb/XcodeGen",
  "github_stars": 8532,
  "github_topics": [
    "ci",
    "cli",
    "generator",
    "specification",
    "swift",
    "xcode",
    "xcodeproj",
    "xcodeproject",
    "yaml"
  ],
  "homepage": "https://github.com/yonaskolb/XcodeGen",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 26803,
  "installs_365d": 200231,
  "installs_90d": 76526,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:43:20+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "xcodegen",
  "oldnames": [],
  "one_liner": "Swift command-line tool that generates Xcode projects from a YAML/JSON specification file and directory structure.",
  "optional_dependencies": [],
  "rank_30d": 198,
  "rank_365d": 281,
  "rank_90d": 216,
  "raw_hash": "1fa186286d374a6c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/x/xcodegen.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "swift"
  ],
  "version_head": "HEAD",
  "version_stable": "2.45.4",
  "versioned_formulae": [],
  "why_use_this": "Eliminates manual Xcode project maintenance by treating .pbxproj as generated output, making it easier to manage complex multi-target builds, merge conflicts, and CI/CD automation. Particularly valuable for teams wanting version control-friendly project definitions and reproducible builds without GUI project file editing."
}