Book Image

Learning Continuous Integration with TeamCity

Book Image

Learning Continuous Integration with TeamCity

Overview of this book

Table of Contents (19 chapters)
Learning Continuous Integration with TeamCity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building iOS projects on TeamCity


TeamCity comes with the Xcode Project build runner to build Xcode projects. We can leverage this runner to build iOS projects. To illustrate the Xcode Project build runner in this section, we will use AnyWall (https://github.com/ParsePlatform/AnyWall) as the sample application.

Note

An Xcode project can be built from the command line using the following command:

xcodebuild -project AnyWall.xcodeproj -target Anywall -configuration Debug -sdk iphonesimulator7.0 clean build

AnyWall.xcodeproj is the project file. AnyWall is the target application to be built, in the Debug configuration. Since we want to build for the iOS simulator, we specify iphonesimulator7.0 as the SDK. Here, clean and build are the actions to be executed.

Let's start off by creating a new project named iOS CI with TeamCity. Then, we can create a build configuration named build with Xcode project chosen as the build runner for it. A view of the settings needed for the Xcode project build runner...