xcbuild VS XcodeGen

Compare xcbuild vs XcodeGen and see what are their differences.


Xcode-compatible build tool. (by facebook)


A Swift command line tool for generating your Xcode project (by yonaskolb)
Our great sponsors
  • JetBrains Dev Survey - What’s up with the C++ ecosystem in 2023?
  • WorkOS - The modern API for authentication & user identity.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Onboard AI - ChatGPT with full context of any GitHub repo.
xcbuild XcodeGen
0 8
1,943 6,680
- -
0.0 8.1
about 4 years ago 3 days ago
C++ Swift
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of xcbuild. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning xcbuild yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of XcodeGen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-24.
  • How to manage a huge iOS project written by many teams?
    2 projects | /r/SwiftUI | 24 Mar 2022
    There are a lot of tools and solutions that can help manage a large codebase. For example, a good CI/CD system linked to GitHub or your internal source control system can ensure that all of your unit tests and UI tests run on every PR and block PRs from merging if there are test failures. And if the company chooses not to check in the .xcodeproj or .xcworkspace file, but rather rely on project autogeneration tools like xcodegen, then you can eliminate annoying merge conflicts in PRs that happen when two teams happen to touch files that are near each other in the .pbxproj file (but at the cost of developers always having to run xcodegen when checking out a new branch).
  • How to better structure your Xcode projects
    2 projects | /r/iOSProgramming | 17 Jun 2021
    Curious why you guys built XCodeJS instead of going with XcodeGen or Tuist
  • The joys of creating Xcode project files
    8 projects | news.ycombinator.com | 25 Apr 2021
    It's such trash. For my personal projects, XcodeGen is a lifesaver.

    How Apple thinks that a single god file is a good idea is crazy to me. No other build tool needs this.


What are some alternatives?

When comparing xcbuild and XcodeGen you can also consider the following projects:

Tuist - πŸš€ Create, maintain, and interact with Xcode projects at scale

SwiftGen - The Swift code generator for your assets, storyboards, Localizable.strings, … β€” Get rid of all String-based APIs!

R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects

fastlane-plugin-appicon - Generate required icon sizes and iconset from a master application icon.

Struct - Xcode projects on steroids

jazzy - Soulful docs for Swift & Objective-C

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Awesome-Design-Tools - The best design tools and plugins for everything πŸ‘‰

SwiftLintXcode - An Xcode plug-in to format your code using SwiftLint.

cordova-node-xcode - Apache cordova

SourceKitten - An adorable little framework and command line tool for interacting with SourceKit.