xcbuild VS XcodeGen

Compare xcbuild vs XcodeGen and see what are their differences.

xcbuild

Xcode-compatible build tool. (by facebook)

XcodeGen

A Swift command line tool for generating your Xcode project (by yonaskolb)
Our great sponsors
  • Sonar - Write Clean C++ Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
xcbuild XcodeGen
0 8
1,943 5,894
- -
0.0 7.5
about 3 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.

xcbuild

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.

XcodeGen

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 | reddit.com/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 | reddit.com/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.

    https://github.com/yonaskolb/XcodeGen

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

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

Awesome-Design-Tools - The best design tools and plugins for everything 👉

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

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