commands.sh

xctool

macos

Build Xcode projects.

More info →

Examples (3)

Build a single project without any workspace

xctool -project YourProject.xcodeproj -scheme YourScheme build

Build a project that is part of a workspace

xctool -workspace YourWorkspace.xcworkspace -scheme YourScheme build

Clean, build, and execute all the tests

xctool -workspace YourWorkspace.xcworkspace -scheme YourScheme clean build test
made by @shridhargupta | data from tldr-pages