在遵循react-native-firebase教程后,我的应用程序在成功构建后挂起.我在Xcode中遇到的错误是:Thread 1: signal SIGABRT.我从其他问题中了解到这与连接有关,但我不知道为什么会出现这种错误.
这是我的第一个React Native项目,第一次使用Xcode.
react-native-firebase和firebase.react-native link react-native-firebase.pod init.将podfile调整为以下内容:
# 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
Run Code Online (Sandbox Code Playgroud)pod install#import <Firebase.h> …