Skip to content

Commit

Permalink
Merge pull request #9 from JoaoCaixinha/master
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
jparreira authored Jun 22, 2016
2 parents 03dffa2 + 4d66ce2 commit 8806c2e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions RCTRealtimeMessaging.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 8806c2e

Please sign in to comment.