Commit c9f4e36e authored by Jonathan Chang's avatar Jonathan Chang Committed by Libin Lu

Firestack compatibility (#81)

* Add firestack header search paths

If users have installed firestack, modules may live here instead.
Include them just in case.

* Include firestack paths to frameworks

* Import Firebase via module

* Ignore xcuserdata
parent 5c029798
node_modules node_modules
build build
xcuserdata
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "Firebase.h" @import Firebase;
@import FirebaseMessaging;
#import "RCTBridgeModule.h" #import "RCTBridgeModule.h"
......
...@@ -212,11 +212,13 @@ ...@@ -212,11 +212,13 @@
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/../../../ios/**", "$(PROJECT_DIR)/../../../ios/**",
"$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**",
); );
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../react-native/React/**", "$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/../../../ios/**", "$(SRCROOT)/../../../ios/**",
"$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**",
); );
LIBRARY_SEARCH_PATHS = "$(inherited)"; LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";
...@@ -233,10 +235,12 @@ ...@@ -233,10 +235,12 @@
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"$(PROJECT_DIR)/../../../ios/**", "$(PROJECT_DIR)/../../../ios/**",
"$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**",
); );
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../react-native/React/**", "$(SRCROOT)/../../react-native/React/**",
"$(SRCROOT)/../../../ios/**", "$(SRCROOT)/../../../ios/**",
"$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**",
); );
LIBRARY_SEARCH_PATHS = "$(inherited)"; LIBRARY_SEARCH_PATHS = "$(inherited)";
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment