Remove instructions about IP address on iOS
Summary:
The documentation was not updated after this change : Implemented automatic IP detection for iOS (8c29a52
)
Fixes #8651.
Closes https://github.com/facebook/react-native/pull/8660
Differential Revision: D3539749
fbshipit-source-id: fe3b37c446a8c37941adbb08c4301284950a176a
This commit is contained in:
parent
d73446c549
commit
65ff8192dd
|
@ -13,9 +13,7 @@ Running an iOS app on a device requires an [Apple Developer account](https://dev
|
||||||
|
|
||||||
You can iterate quickly on device using the development server. First, ensure that you are on the same Wi-Fi network as your computer.
|
You can iterate quickly on device using the development server. First, ensure that you are on the same Wi-Fi network as your computer.
|
||||||
|
|
||||||
1. Open `ios/YourApp/AppDelegate.m`
|
In Xcode, select your phone as build target and press "Build and run"
|
||||||
2. Change the host in the URL from `localhost` to your laptop's IP address. 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"
|
|
||||||
|
|
||||||
> Hint
|
> Hint
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue