Skip to Main Content
Essential iOS Build and Release
book

Essential iOS Build and Release

by Ron Roche
December 2011
Beginner content levelBeginner
182 pages
4h 26m
English
O'Reilly Media, Inc.
Content preview from Essential iOS Build and Release

Chapter 6. Build Automation

Depending on your development environment, you may or may not find a need to automate your build process. For a one-person development team, you probably wouldn’t take the time to automate the build of your iOS apps, but for any sizable development organization (which could be any more than one developer), you may find it necessary to set up build automation.

We’re not going to delve into the merits of Continuous Integration (if you’re reading this, you don’t need it explained to you). The primary reason for setting up a continuous build process for an iOS app is to verify that with every source code change, your app not only builds without error, but can also be packaged for Ad Hoc and App Store Distribution. Usually when a developer compiles their code, packaging and distribution is not considered. A developer typically verifies her code using either the iOS Simulator or a locally attached device. It is the role of the Release Engineer to set up the automation very early in the development cycle to continuously build, sign, and package your app(s) for distribution.

The Build Environment

For a dedicated build environment, here are a few pointers that may help you automate and streamline your build process so that it runs without issue or manual intervention. The main goal here is proof of concept that you can build your Xcode project or workspace on the command line prior to setting up your iOS build on a Continuous Integration server.

Always use the latest ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Xcode and Instruments Fundamentals: Build and Optimize Apps for iOS and OS X

Xcode and Instruments Fundamentals: Build and Optimize Apps for iOS and OS X

Brandon Alexander
Pro iOS5 Tools: Xcode Instruments and Build Tools

Pro iOS5 Tools: Xcode Instruments and Build Tools

Brandon Alexander, J. Bradford Dillon, Kevin y. Kim

Publisher Resources

ISBN: 9781449314781Errata Page