Chapter 16. Scripting and Preprocessing

This chapter is about using scripting as well as the preprocessor to customize the build process. One size most certainly does not fit all coding environments, but large groups as well as independent developers can take advantage of Xcode’s scripting and preprocessing capabilities to automate a variety of testing and deployment tasks.

This chapter will not serve as an exhaustive list of everything you can achieve—that would be an entire book unto itself. Instead, the goal is to introduce you to the scripting hooks and to some preprocessor tricks to spark your imagination so you will be better equipped to dream up your ideal automation pipeline.

Extending Your Workflow with Custom Scripts

In Chapter 13 ...

Get Mastering Xcode: Develop and Design, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.