Chapter 10. Deploying

To deploy an application, you must build it in Release mode. Whether you’re turning the application over to an employer, selling it on your own website, submitting it to Apple’s App Store, or just sharing it with a friend, your application must be built for release. In Xcode 4, this is accomplished most directly with the Archive action.

Archiving

There are certain steps that should be taken when preparing an app for deployment—building with optimizations, stripping debug symbols, or digitally signing the executables, to name a few. To simplify switching between the standard build configurations—Debug and Release—Xcode provides an Archive action that produces a Release build by default.

Creating the Archive

Open the Lighting ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.