Problem
After completing the manual for response-native-firebase, my application freezes after a successful build. The error I get in the Xcode: Thread 1: signal SIGABRT
. I understand from other questions that this has something to do with connections, but I don't know why this error occurs.
This is my first React Native project and the first time working with Xcode.
What I've done
- I added
react-native-firebase
and firebase
. - Ran
react-native link react-native-firebase
. - Added the GoogleService-Info.plist project by dragging it to the Xcode editor.
- Stopped all Xcode tasks and exited Xcode.
- Was there
pod init
. The adjusted subchannel to the following:
platform :ios, '9.0'
target 'Enso' do
pod 'Firebase/Core'
end
- Was there
pod install
- Opened the xcworkspace file
- Added
#import <Firebase.h>
and [FIRApp configure];
toAppDelegate.m
- Clear project
- , "Powered by React Native".
- 10 Xcode : Xcode
Linked Frameworks and Libraries
:
- libRNSVG.a
- libRNBackgroundTimer.a
- libRNFirebase.a
- libART.a
- libRCTBlob.a
- libReact.a
- libRCTAnimation.a
- libRCTActionSheet.a
- libRCTGeolocation.a
- libRCTImage.a
- libRCTLinking.a
- libRCTNetwork.a
- libRCTSettings.a
- libRCTText.a
- libRCTVibration.a
- libRCTWebSocket.a
- libPos-Enso.a
Header Search Paths
:
- $()
- $(SRCROOT)/../node_modules/ --/
- $(SRCROOT)/../node_modules/ -firebase//RNFirebase
- $(SRCROOT)/../node_modules/- SVG/
- $(SRCROOT)/..//
- $(SRCROOT)/../node_modules/ /React