Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with React Native

You're reading from   Getting Started with React Native Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785885181
Length 172 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

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:

  2. Target the iOS Device instead of the simulator:

  3. Finally, run the build from Product | Archive. The Organizer window will open a list of archives for your project. You can return to this screen later by selecting Window | Organizer from the top menu:

  4. In the future, when you create multiple releases, you should increase the version number found in Targets | ReactNotes | General. For the purposes of our first release, this can be disregarded:

    Once your build has been...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image