Update RunningOnDeviceIOS.md

Summary:
Should help people with less xcode experience.
Closes https://github.com/facebook/react-native/pull/9748

Differential Revision: D3819960

Pulled By: mkonicek

fbshipit-source-id: 2d73611a5ed7261c95eded2f3e20eeb660527cdc
This commit is contained in:
Jacob Parker 2016-09-05 13:58:41 -07:00 committed by Facebook Github Bot 1
parent 86db1b53b5
commit b7564d8f94
1 changed files with 5 additions and 2 deletions

View File

@ -24,8 +24,11 @@ In Xcode, select your phone as build target and press "Build and run"
You have built a great app using React Native, and you are now itching to release it in the App Store. The process is the same as any other native iOS app, with some additional considerations to take into account.
Building an app for distribution in the App Store requires using the `Release` scheme in Xcode. Apps built for `Release` will automatically disable the in-app developer menu. This will prevent your users from inadvertently accessing the menu in production.
This way you can test the app independently of the development server, and will allow you to distribute the app to beta testers and submit the app to the App Store.
Building an app for distribution in the App Store requires using the `Release` scheme in Xcode. To do this, go to `Project -> Scheme -> Edit Scheme (cmd + <)`, make sure you're in the `Run` tab from the side, and set the Build Configuration dropdown to `release`.
Apps built for `Release` will automatically disable the in-app developer menu, which will prevent your users from inadvertently accessing the menu in production. It will also load the JavaScript locally, so you can put the app on a device and test whilst not connected to the computer.
Once built for release, you'll be able to distribute the app to beta testers and submit the app to the App Store.
### App Transport Security