From 0359046af12797da290bd2b673cd3b510052e274 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Wed, 13 Jan 2016 11:35:01 +0800 Subject: [PATCH] give a more detailed bundle example --- docs/RunningOnDeviceIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RunningOnDeviceIOS.md b/docs/RunningOnDeviceIOS.md index 5dae7ccc4..84d57c541 100644 --- a/docs/RunningOnDeviceIOS.md +++ b/docs/RunningOnDeviceIOS.md @@ -28,7 +28,7 @@ You can also pack all the JavaScript code within the app itself. This way you ca 1. Open `AwesomeApp/ios/AwesomeApp/AppDelegate.m` 2. Follow the instructions for "OPTION 2": * Uncomment `jsCodeLocation = [[NSBundle mainBundle] ...` - * Run the `react-native bundle` command in terminal from the root directory of your app + * Run the `react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output iOS/main.jsbundle` command in terminal from the root directory of your app The bundle script supports a couple of flags: