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.
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 ...