From 35d7f4b5a709ec5ae686e0674de5558b78a2a9ad Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Wed, 29 Jun 2016 00:38:14 -0400 Subject: [PATCH] added image --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72d353b..c24bbb7 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,10 @@ Install the [react-native-apple-healthkit] package from npm: 2. Go to `node_modules` ➜ `react-native-apple-healthkit` and add `RCTAppleHealthKit.xcodeproj` 3. In XCode, in the project navigator, select your project. Add `libRCTAppleHealthKit.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 4. 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. Compile and run +5. Enable HealthKit in your application's `Capabilities` +![Alt text](/examples/images/Capabilities_HealthKit.png "Xcode Capabilities Section") +6. Compile and run ### Usage Just `require` the `react-native-apple-healthkit` module and you're ready to go! -- 2.26.2