xctool
1.1、xctool简介
是什么 ?:an extension for Apple's xcodebuild which makes it easier to test iOS and Mac products. It's especially helpful for continuous integration.
开发语言:Objective-C
开发公司:Facebook
源码仓库:https://github.com/facebook/xctool
1.2、通过HomeBrew安装xctool
brew install xctool
1.3、xctool命令

xctool命令的使用格式如下:

xctool [option]... [ACTION [ACTION argument]...]

示例:

xctool -workspace newton.xcworkspace -scheme newton -configuration Debug -sdk iphonesimulator10.3
xctool -workspace newton.xcworkspace -scheme newton -configuration Debug -sdk iphonesimulator10.3 clean build
xctool -workspace newton.xcworkspace -scheme newton -reporter json-compilation-database:compile_commands.json clean build