Icon

You are viewing the documentation of TeamCity 8.x, which is not the most recently released version of TeamCity.
Go to the latest TeamCity documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

 

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Setting

Build

Description

Anchor
pathToTheProjectOrWorkspace
pathToTheProjectOrWorkspace
Path to the project or workspace

 

Path to the project file (.xcodeproj) or workspace file (.xcworkspace), should be relative to the checkout directory. For Xcode 3 build only path to the project is allowed.

Working directory

 

Specify the build working directory.

Anchor
xcodePath
xcodePath
Path to Xcode

 

Specify path to the Xcode on the agent.

Anchor
build
build
Build

 

Select either target-based or scheme-based (for Xcode 4+ only) build.

Anchor
scheme
scheme
Scheme

Scheme-based

Xcode scheme to build. List of available schemes is formed by parsing your project/workspace files in VCS. Press "Check/Reparse Project" button to show/refresh schemes list (make sure your "Path to the project or workspace" setting is correct before). Please note that scheme must be shared to be shown in the list (to check if your scheme is shared you should check if it is located under "xcshareddata" folder and not under "xcuserdata" one, and if "xcshareddata" folder is committed to your VCS; to check the latter you can use VCS tree popup near the "Path to the project or workspace" field). To know more about managing Xcode schemes please see Apple documentation.

Anchor
customBuildOutputDir
customBuildOutputDir
Build output directory

Scheme-based

You can override the default path for the files produced in your build. To do it check "Use custom" checkbox and specify the path in the text field. Path should be relative to the checkout directory.

Anchor
target
target
Target

Target-based

Xcode target to execute. List of available targets is formed by parsing your project files in VCS. Press "Check/Reparse Project" button to show/refresh targets list (make sure your "Path to the project" setting is correct before).

Anchor
configuration
configuration
Configuration

Target-based

Xcode configuration. List of available configurations is formed by parsing your project files in VCS. Since configuration depends on the target, you must choose the target first. Press "Check/Reparse Project" button to show/refresh configurations list (make sure your "Path to the project" setting is correct before).

Anchor
platform
platform
Platform

Target-based

You can choose either "iOS" or "Mac OS X" or "Simulator - iOS" or any other platform (if it is provided by agent) to build your project on.

Anchor
sdk
sdk
SDK

Target-based

You can choose SDK to build your project with (list of available SDKs is formed according to the SDKs those are available on your agents). Since SDK depends on the platform, you must choose the platform first.

Anchor
arch
arch
Architecture

Target-based

You can choose architecture to build your project with (list of available architectures is formed according to the architectures those are available on your agents). Since architecture depends on the platform, you must choose the platform first.

Anchor
buildActions
buildActions
Build action(s)

 

Xcode build action(s). Default actions are "clean build", but you can specify any of "clean", "build", "test", "archive", "installsrc", "install" in any order.

Anchor
runTests
runTests
Run tests

 

Uncheck this option if you just want to build your project and do not want to run tests.

Anchor
additionalCommandLineParameters
additionalCommandLineParameters
Additional command line parameters

 

Any other command line parameters to be passed to "xcodebuild" utility.

...