Update README as it should automatically have that path

This commit is contained in:
Brent Vatne 2015-03-30 23:05:42 -07:00
parent edbe07fdae
commit 6f9fb450c5

View File

@ -12,10 +12,11 @@ A <Video> component for react-native, as seen in
[(Screenshot)](http://url.brentvatne.ca/g9Wp). [(Screenshot)](http://url.brentvatne.ca/g9Wp).
4. Click on `RCTVideo.xcodeproj` in `Libraries` and go the `Build 4. Click on `RCTVideo.xcodeproj` in `Libraries` and go the `Build
Phases` tab. Double click the text to the right of `Header Search Phases` tab. Double click the text to the right of `Header Search
Paths` and add `$(SRCROOT)../react-native/React` so XCode is able to Paths` and verify that it has `$(SRCROOT)../react-native/React` - if it
find the headers that the `RCTVideo` source files are referring to, isn't, then add it. This is so XCode is able to find the headers that
by pointing to the header files installed within the `react-native` the `RCTVideo` source files are referring to by pointing to the
`node_modules` directory. [(Screenshot)](http://url.brentvatne.ca/7wE0). header files installed within the `react-native` `node_modules`
directory. [(Screenshot)](http://url.brentvatne.ca/7wE0).
5. Whenever you want to use it within React code now you can: `var Video = 5. Whenever you want to use it within React code now you can: `var Video =
require('react-native-video');` require('react-native-video');`