Closed Copser closed 4 years ago
For the time I spend writing this question I've ended up solving this by removing $(SCROOT)/Firebase
from my Headers Search Path. I hade duplicated Firebase in the Xcode, confusion for me was that I somehow overlooked use_native_modules!
in my Pods file and that is pulling firebase from node_modules
.
@Copser thanks for documenting. Does this mean this library still works with RN 0.60 ?
Hey @temitope, it was working for me, but I had some other issues with my project, so I needed to degrade the project back to 59.10
, so I'm not 100% sure that it will work on 0.60
.
Hello, I upgraded the project from following rn-diff-purge from 0.59.10 to 0.60.0, and I'm having problems when building a project. It smells like Firebase was integrated twice but I'm not been able to locate it, but that just me guessing, so can someone help please, thanks.
and
In Headers Search Paths
1. What version of RN and react-native-fcm are you running?
System: OS: macOS Mojave 10.14.6 CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Memory: 350.78 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node Yarn: 1.21.1 - ~/.yarn/bin/yarn npm: 6.13.0 - ~/.nvm/versions/node/v10.16.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1 IDEs: Android Studio: 3.5 AI-191.8026.42.35.5791312 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.0 => 0.60.0 npmGlobalPackages: react-native-cli: 2.0.1
"react-native-firebase": "~5.6.0",
2. What device are you using? (e.g iOS9 emulator, Android 6 device)?
I'm using emulator IOS11
3. Is your app running in foreground, background or not running?
My app is not running.
Pods