xcbuild alternatives and similar libraries
Based on the "Tools" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of xcbuild or a related project?
xcbuild is an Xcode-compatible build tool with the goal of providing faster builds, better documentation of the build process and running on multiple platforms (macOS, Linux, and Windows)
Features Performance :rocket:Blazing fast incremental buildsxcodebuildxcbuild + Ninja :book:Documents the Xcode build process :link:Builds Xcode projects and workspaces :hatching_chick:Supports Swift apps and frameworksClean Build30.103s25.122s :sparkles:Tools and libraries for Xcode projects :gift_heart:Fully compatible with xcpretty :tophat:Uses Ninja and llbuildIncremental Build2.190s0.046s :zap: :octocat:Open source under the BSD license :penguin:Builds on Linux and Windows
xcbuild and other build tools
|xcbuild and xctool are both Xcode-compatible build systems. We plan on slowly deprecating xctool's build support but keep it as a great way to run tests.||Facebook's main build system is Buck. Buck has a stronger architecture and advanced features like artifact caching while having a much simpler build format. If you have a new project, it's highly recommended.||xcbuild works great with xcpretty. Pipe the output from xcbuild to xcpretty the same way as you would from
On macOS you can install those tools with Homebrew:
brew install cmake ninja.
On Windows you can install those tools with Chocolatey:
choco install cmake ninja.
sudo apt install libpng-dev libpng16-16 libxml2-dev pkg-config ninja-build
- GCC 4.8 or later.
pkg-configare also required.
- Xcode 7 or later.
- Visual Studio 2015 or later, on Windows. A
zlibDLL is also required.
git clone --depth=1 https://github.com/facebook/xcbuild cd xcbuild git submodule update --init
Linux and macOS:
Build output will be in the
build directory. Run xcbuild with
You can place xcbuild in your
bin directory to run it from other locations:
mv build/xcbuild /usr/local/bin/.
cmake -Bbuild -H. -G "Visual Studio 14 2015" -DZLIB_ROOT=<path>
build\xcbuild.sln and build.
The command line options are compatible with xcodebuild.
xcbuild -workspace Example.xcworkspace -scheme Example
Using Ninja (or llbuild)
To switch to the significantly faster Ninja executor:
xcbuild -executor ninja [-workspace Example.xcworkspace ...]
-executor ninja parameters, the options are otherwise identical. The Ninja executor is fastest if it can avoid re-generating the Ninja files if the build configuration and input project files do not change.
xcbuild actively welcomes contributions from the community. If you're interested in contributing, be sure to check out the contributing guide. It includes some tips for getting started in the codebase, as well as important information about the code of conduct, license, and CLA.
xcbuild is built on build system documentation from the community. In particular, thanks to these people for their writing:
Third-party licenses are listed in the
*Note that all licence references and agreements mentioned in the xcbuild README section above are relevant to that project's source code only.