From 55c5dade579ff003720646facd10509df7b0c031 Mon Sep 17 00:00:00 2001 From: dgellow Date: Sat, 19 Sep 2015 22:56:21 +0200 Subject: [PATCH] fix AppDelegate.m path --- docs/RunningOnDeviceIOS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/RunningOnDeviceIOS.md b/docs/RunningOnDeviceIOS.md index 9309586ad..77da70c5d 100644 --- a/docs/RunningOnDeviceIOS.md +++ b/docs/RunningOnDeviceIOS.md @@ -13,7 +13,7 @@ Note that running on device requires [Apple Developer account](https://developer You can iterate quickly on device using development server. To do that, your laptop and your phone have to be on the same wifi network. -1. Open `iOS/AppDelegate.m` +1. Open `AwesomeApp/ios/AwesomeApp/AppDelegate.m` 2. Change the IP in the URL from `localhost` to your laptop's IP 3. In Xcode select your phone as build target and press "Build and run" @@ -25,7 +25,7 @@ You can iterate quickly on device using development server. To do that, your lap You can also pack all the JavaScript code within the app itself. This way you can test it without development server running and submit the app to the AppStore. -1. Open `iOS/AppDelegate.m` +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