Update RunningOnDeviceIOS.md
This commit is contained in:
parent
b39b97546a
commit
dcd82a2450
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue