React Native Firebase error Topic 1 SIGABRT - iOS

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-firebaseand 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:

    # 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
    
  • 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
+4

Source: https://habr.com/ru/post/1687867/


All Articles