Uploading the App

Our first step to upload the app is to do a release build. So far, Xcode has been giving us debug builds, telling the compiler to insert symbols into the executable code that makes it easier to debug. That’s what lets us stop on breakpoints and figure out what’s going on. But at this point, our code should be fully debugged, so we can eliminate the cost and size of these debugging aids, and instead tell Xcode to build the fastest-running file it can. In practice, a release build will often run 10% or more faster than an equivalent debug build.

Archiving

It’s possible to use the scheme selector to create a release build for the device—and this is a good practice for a final round of pre-submission testingemdash;but let’s cut ...

Get iOS 9 SDK Development 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.