After following the tutorial for react-native-firebase, my app hangs after a successful build. The error I get in Xcode is: Thread 1: signal SIGABRT
. I understand from other questions that this has something to do with connections, but I do not know why this error occurs.
This is my first React Native project and first time working with Xcode.
react-native-firebase
and firebase
.react-native link react-native-firebase
.pod init
.Adjusted the podfile to the following:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Enso' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for Enso
pod 'Firebase/Core'
end
pod install
#import <Firebase.h>
and [FIRApp configure];
to AppDelegate.m
I have these Linked Frameworks and Libraries
:
I have this in my Header Search Paths
:
Looks like GoogleAppMeasurement
gets imported as a dependency with version 5.3.0
.
A simple addition to the Podfile
like below fixed the problem for me.
# Required by RNFirebase
pod 'Firebase/Core', '~> 5.9.0'
pod 'GoogleAppMeasurement', '~> 5.2.0'
As show here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With