Skip to content

Commit

Permalink
Remove instructions about IP address on iOS
Browse files Browse the repository at this point in the history
Summary:
The documentation was not updated after this change : Implemented automatic IP detection for iOS (8c29a52)

Fixes #8651.
Closes #8660

Differential Revision: D3539749

fbshipit-source-id: fe3b37c446a8c37941adbb08c4301284950a176a
  • Loading branch information
charpeni authored and grabbou committed Jul 21, 2016
1 parent 3f1db67 commit 5b34ccb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/RunningOnDeviceIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

1. Open `ios/YourApp/AppDelegate.m`
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"
In Xcode, select your phone as build target and press "Build and run"

> Hint
>
Expand Down

0 comments on commit 5b34ccb

Please sign in to comment.