diff --git a/RCTRealtimeMessaging.xcodeproj/project.pbxproj b/RCTRealtimeMessaging.xcodeproj/project.pbxproj index f0a4c0c..fd80413 100644 --- a/RCTRealtimeMessaging.xcodeproj/project.pbxproj +++ b/RCTRealtimeMessaging.xcodeproj/project.pbxproj @@ -246,6 +246,11 @@ 57E5A0B81AD2D06E00B19F3B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../react-native/React/**", + ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -255,6 +260,11 @@ 57E5A0B91AD2D06E00B19F3B /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "$(SRCROOT)/../react-native/React/**", + ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; diff --git a/README.md b/README.md index 2ae15d9..d89952e 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,13 @@ More information can be found on the * Create a new react-native project. [Check react-native getting started](http://facebook.github.io/react-native/docs/getting-started.html#content) -* On the terminal, go to PROJECT_DIR/node_modules/react-native. +* On the terminal, go to PROJECT_DIR. * Execute npm install --save react-native-realtimemessaging-ios -* Drag RCTRealtimeMessaging.xcodeproj from the node_modules/react-native- realtimemessaging-ios folder into your XCode project. Click on the project in XCode, goto Build Phases then Link Binary With Libraries and add libRCTRealtimeMessaging.a +* Drag RCTRealtimeMessaging.xcodeproj from the node_modules/react-native-realtimemessaging-ios folder into your XCode project. Click on the project in XCode, goto Build Phases then Link Binary With Libraries and add libRCTRealtimeMessaging.a * Drag RCTRealtimeMessaging.js to the root of your project. diff --git a/package.json b/package.json index 4f662ca..f7b53e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-realtimemessaging-ios", - "version": "1.0.13", + "version": "1.0.14", "description": "The Realtime Framework Cloud Messaging Pub/Sub client for React-Native", "main": "RCTRealtimeMessagingIOS.js", "scripts": {