From 8a7037dc2f3dc9df5ead8b198025cd79ed178cf9 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Sun, 26 Jun 2016 20:54:38 -0400 Subject: [PATCH] updating readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 913dcaf..a99287a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # react-native-apple-healthkit +## Getting started + +### Installation (xcode) + +1. `npm install react-native-apple-healthkit@https://github.com/GregWilson/react-native-apple-healthkit.git --save` +2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` +3. Go to `node_modules` ➜ `react-native-apple-healthkit` and add `RCTAppleHealthKit.xcodeproj` +4. In XCode, in the project navigator, select your project. Add `libRCTAppleHealthKit.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` +5. Click `RCTAppleHealthKit.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`) + -- 2.26.2