TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Xcode Project

Last modified: 20 April 2023

The Xcode Project Build Runner supports Xcode 3 (target-based build), Xcode 4 (scheme-based build), Xcode 5, 6 and since TeamCity 9.1, Xcode 7.x and Xcode 8. (see the related section below).

The runner provides structured build log based on Xcode build stages, detects compilation errors, reports tests from the xcodebuild utility, adds automatic agent requirements for the appropriate version of tools installed (Xcode, SDKs, etc.) and reporting tools via agent properties.

Xcode 7.x SupportWorking with different Xcode setups



  • If only one Xcode version is installed on the agent machine, it will be used by default. The agent restart is required if Xcode was installed/updated.

  • If several Xcode versions are installed, perform one of the following: - specify the path to the required version in the Path to Xcode of the Xcode Project build step settings - select the default XCode distribution using the xcode-select tool (details on Apple.com). The path to Xcode: /Applications/Xcode.app/Contents/DeveloperCommand to switch: sudo xcode-select -s path_to_xcode_distribution

Xcode Project Runner Settings