Update RunningOnDeviceIOS.md

This commit is contained in:
Martin Konicek 2015-10-17 11:26:58 +02:00
parent b39b97546a
commit dcd82a2450
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,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. 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 `AwesomeApp/ios/AwesomeApp/AppDelegate.m` 1. Open `AwesomeApp/ios/AwesomeApp/AppDelegate.m`
2. Change the IP in the URL from `localhost` to your laptop's IP 2. Change the IP in the URL from `localhost` to your laptop's IP. On Mac, you can find the IP address in System Preferences / Network.
3. In Xcode select your phone as build target and press "Build and run" 3. In Xcode select your phone as build target and press "Build and run"
> Hint > Hint