O'Reilly logo

Getting Started with React Native by Tom Bray, Ethan Holmes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an iOS release in Xcode

In order to submit to the AppStore, we need to build our application for distribution. Luckily, the Xcode project we initially created with react-native init has some of this preconfigured for us. First, we want to change our Build Configuration to disable features, such as the developer menu that we get while we are debugging.

Let's configure the iOS release:

  1. In Xcode, navigate to Product | Scheme | Edit Scheme… and select Run, and under the Info tab change Build Configuration from Debug to Release:
    Creating an iOS release in Xcode
  2. Target the iOS Device instead of the simulator:
  3. Finally, run the build from Product | Archive. The Organizer window will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required