diff --git a/.gitignore b/.gitignore index b7dab5e9cbfea4afa2bc788899ccaea6df849062..13ebdb4710059e9f4a7c1e0616b295433540fb82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -build \ No newline at end of file +build +xcuserdata diff --git a/ios/RNFIRMessaging.h b/ios/RNFIRMessaging.h index 0a4fb1ab07e10d2276b6249b5252befcdfebfbb4..ed630eec30821d77ad27d5667d340132f0f20762 100644 --- a/ios/RNFIRMessaging.h +++ b/ios/RNFIRMessaging.h @@ -1,7 +1,8 @@ #import -#import "Firebase.h" +@import Firebase; +@import FirebaseMessaging; #import "RCTBridgeModule.h" diff --git a/ios/RNFIRMessaging.xcodeproj/project.pbxproj b/ios/RNFIRMessaging.xcodeproj/project.pbxproj index f86fe4e9da3269d98f91f3be9bb336dc2ee21c3e..c0b8fa4e22d317db3a9ee1fac104ecc447fae6a4 100644 --- a/ios/RNFIRMessaging.xcodeproj/project.pbxproj +++ b/ios/RNFIRMessaging.xcodeproj/project.pbxproj @@ -212,11 +212,13 @@ FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/../../../ios/**", + "$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**", ); GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)"; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../../react-native/React/**", "$(SRCROOT)/../../../ios/**", + "$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC"; @@ -233,10 +235,12 @@ FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/../../../ios/**", + "$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**", ); HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../../react-native/React/**", "$(SRCROOT)/../../../ios/**", + "$(SRCROOT)/../../../node_modules/react-native-firestack/ios/**", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; OTHER_LDFLAGS = "-ObjC";