React Native Firebase构建错误未修复

时间:2018-10-17 00:39:22

标签: react-native cocoapods react-native-firebase

完成本教程Error: RNFirebase core module was not found natively on iOS之后,我仍然不断遇到这些错误:

enter image description here

enter image description here

我错过了什么吗?附言我最近升级到了macOS Mojave,并且当前安装了XCode 10,并且我还使用的是最新的react-native版本,即0.57.1​​。这是我对npm和pod的依赖关系的列表:

npm:

"dependencies": {
"@babel/core": "^7.1.2",
"@babel/runtime": "7.0.0-beta.55",
"adm-zip": "^0.4.11",
"ajv": "^6.5.4",
"eslint": "^5.6.1",
"eslint-config-standard": "^12.0.0",
"plist": "^3.0.1",
"react": "16.5.0",
"react-native": "0.57.1",
"react-native-deck-swiper": "^1.5.22",
"react-native-fbsdk": "^0.8.0",
"react-native-firebase": "^5.0.0",
"react-native-responsive-dimensions": "^2.0.1",
"react-native-splash-screen": "^3.1.1",
"react-navigation": "^2.17.0",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0",
"xcode": "^1.0.0"

}

ios文件夹中的Podfile:

platform :ios, '9.0'

 target 'BonggaKaDay' do
   # Uncomment the next line if you're using Swift or would like to use dynamic 
  frameworks
 # use_frameworks!

 pod 'Firebase/Core'
 pod 'Firebase/Auth'
 pod 'Firebase/Firestore'
 pod 'React', :path => '../node_modules/react-native'
 pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
 pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'

结束

0 个答案:

没有答案