Added a step in the 'Getting Started' section
Added the location in which Header Search Paths can be found to make it easier for people that are unfamiliar with XCode to find Header Search Paths.
This commit is contained in:
parent
edbbcd75a3
commit
70cd5cdc16
|
@ -15,7 +15,7 @@ Below is a list of known issues. Pull requests are welcome for any of these issu
|
|||
2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
|
||||
3. Go to `node_modules` ➜ `react-native-camera` and add `RCTCamera.xcodeproj`
|
||||
4. In XCode, in the project navigator, select your project. Add `libRCTCamera.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
|
||||
5. Click `RCTCamera.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../../react-native/React` and `$(SRCROOT)/../../../React` - mark both as `recursive`.
|
||||
5. Click `RCTCamera.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). In the `Search Paths` section, look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../../react-native/React` and `$(SRCROOT)/../../../React` - mark both as `recursive`.
|
||||
5. Run your project (`Cmd+R`)
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Reference in New Issue