Improved clarity of getting started.
This commit is contained in:
parent
6db17c8db4
commit
d9ae1f5e56
|
@ -5,10 +5,10 @@ A camera viewport for React Native. This module is currently in the very early s
|
|||
## Getting started
|
||||
|
||||
1. `npm install react-native-camera --save`
|
||||
2. In XCode, right click Libraries ➜ `Add Files to ______`
|
||||
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. Add `libRCTCamera.a` (it's in workspace) to `Build Phases` ➜ `Link Binary With Libraries`
|
||||
5. Click `RCTCamera.xcodeproj` in the project navigator and go the `Build Phases` tab. Look for `Header Search Paths` and make sure it contains `$(SRCROOT)../react-native/React`.
|
||||
4. 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. Look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../react-native/React` and `$(SRCROOT)/../../React` - mark both as `recursive`.
|
||||
5. Run (`Cmd+R`)
|
||||
|
||||
## Usage
|
||||
|
|
Loading…
Reference in New Issue