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 testing—but let’s cut to the ...
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.
Read now
Unlock full access