xctool
Build Xcode projects. tldr-pages
On macOS
macOS
Build a single project without any workspace
xctool -project YourProject.xcodeproj -scheme YourScheme buildIdentifyBuild a project that is part of a workspace
xctool -workspace YourWorkspace.xcworkspace -scheme YourScheme buildIdentifyClean, build, and execute all the tests
xctool -workspace YourWorkspace.xcworkspace -scheme YourScheme clean build testIdentify