fix AppDelegate.m path

This commit is contained in:
dgellow 2015-09-19 22:56:21 +02:00
parent f802998599
commit 55c5dade57
1 changed files with 2 additions and 2 deletions

View File

@ -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