Xcodebuild
Xcodebuild is Apple's command-line build tool for compiling and packaging macOS and iOS apps without opening the Xcode IDE.
Xcodebuild reads .xcodeproj files and compiles, links, and packages apps for simulators or physical devices. It's the foundation for CI/CD pipelines on Apple platforms, enabling automated testing and App Store distribution. Xcodebuild is also the basis for third-party build systems that simulate its behavior to avoid dependency on the IDE.