xcbuild - FaceBook APP构建工具


BSD
跨平台
C/C++

软件简介

Facebook 出品的开源 App 构建工具,一款能够为 App 构建过程与多平台运行提供更快构建、更好文档并兼容 Xcode
的构建工具,超快的增量构建和构建频率;支持构建 Xcode 项目和 workspace;支持 Swift 应用与框架;使用 Ninja 和
llbuild;完全兼容 xcpretty;基于 BSD 开源许可;基于 Linux 平台构建。

功能特性

  • 超快的增量构建和构建频率;

  • 支持构建Xcode项目和workspace;

  • 支持Swift应用与框架;

  • 使用Ninja和llbuild;

  • 完全兼容xcpretty;

  • 基于BSD开源许可;

  • 基于Linux平台构建。

Features Performance
![](/static/assets/osapp/images/50b0dde35ea521974b5688d9b2ddb9cf.png) Blazing fast incremental builds `xcodebuild` xcbuild + Ninja
![](/static/assets/osapp/images/6abd679327bff3ef93bfca5aa743e34f.png) Documents the Xcode build process
![](/static/assets/osapp/images/830083193a0b61e4304f86f10c0a815d.png) Builds Xcode projects and workspaces
![](/static/assets/osapp/images/6767f3a371b9de2fbb5169c2ae96a4f9.png) Supports Swift apps and frameworks Clean Build 30.103s 25.122s
![](/static/assets/osapp/images/a3357274188adabaf8751f84823cd87d.png) Tools and libraries for Xcode projects
![](/static/assets/osapp/images/954db89a68604a3d61d5163848dbdc04.png) Fully compatible with [xcpretty](https://github.com/supermarin/xcpretty)
![](/static/assets/osapp/images/aa4e8751be459df0286bd8396b127c17.png) Uses [Ninja](https://martine.github.io/ninja) and [llbuild](https://github.com/apple/swift-llbuild) Incremental Build 2.190s 0.046s ![](/static/assets/osapp/images/a0b80a544e0fc3490d17e28b525c8c13.png)
![](/static/assets/osapp/images/ca35c431ed430878b5e650f1077c5e43.png) Open source under the BSD license
![](/static/assets/osapp/images/f696b80b302103812d87afbc2892f55d.png) Builds on Linux

构建

  • OS X上支持Xcode 7及以后版本;

  • Linux上支持GCC 5及以后版本,同时需libxml2-dev;

  • CMake和Ninja(或llbuild)。

    git clone https://github.com/facebook/xcbuildcd xcbuild
    git submodule update –init
    make