Chapter 10. Deploying to the iOS App Store

Now that you have a totally awesome application, you’ll want to get it into the hands of your users. This process will vary by platform. In this chapter, we will focus on the detailed steps for uploading an application to the iOS App Store.

As web developers, we’re used to having more control over our deploy processes. You may be accustomed to shipping code to production many times in a single day, and versions are usually a nonissue. With the iOS App Store, deployment is significantly more complicated, and new version releases usually require 1–2 weeks of review. Thus, it’s important to take the App Store submission and review process into account during your planning phase.

Preparing Your Xcode Project

Your Xcode project contains a lot of metadata about your application. React Native sets up some values for you by default, but before we submit our application for review, we’ll need to ensure that certain attributes are set properly. In the case of Zebreto, our project file is located in iOS/Zebreto.xcodeproj.

If, for some reason, you haven’t done so already, make sure that your Xcode project file is checked into version control. It’s not unheard of for Xcode to crash while attempting to edit a project, leaving your project file in a bad state.

Open your project in Xcode (Figure 10-1). You’ll want to open the left pane, and close the right and bottom panes (the controls for this are in the top-right corner).

Figure 10-1. Open your ...

Get Learning React Native 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.