Forrest logo
tool overview
On this page you find all important commands for the CLI tool xcodebuild. If the command you are looking for is missing please ask our AI.

xcodebuild

Xcodebuild is a powerful command line tool used by developers on macOS to automate building, testing, and distributing apps. It is a part of Xcode, the integrated development environment for macOS, and can be used to perform various tasks related to project management. Xcodebuild allows developers to build Xcode projects and workspaces, specify build settings, and create custom build configurations. It supports different build actions such as cleaning, testing, profiling, archiving, and code signing, providing developers with full control over the build process. Developers can use xcodebuild to execute tests for their projects, generate test coverage reports, and integrate it into continuous integration systems like Jenkins. It also enables developers to build and deploy their applications to different destinations like simulators, devices, or package them for distribution on the App Store. Furthermore, xcodebuild can be easily extended by using additional options and flags, making it highly flexible and customizable to fit specific project requirements.

List of commands for xcodebuild:

  • xcodebuild:tldr:03624 xcodebuild: Build workspace.
    $ xcodebuild -workspace ${workspace_name-workspace} -scheme ${scheme_name} -configuration ${configuration_name} clean build SYMROOT=${SYMROOT_path}
    try on your machine
    explain this command
  • xcodebuild:tldr:3dde6 xcodebuild: Build project.
    $ xcodebuild -target ${target_name} -configuration ${configuration_name} clean build SYMROOT=${SYMROOT_path}
    try on your machine
    explain this command
  • xcodebuild:tldr:9ef52 xcodebuild: Show SDKs.
    $ xcodebuild -showsdks
    try on your machine
    explain this command
tool overview