【发布时间】:2021-01-07 15:16:24
【问题描述】:
我在为我的 react-native 项目运行 pod install 时遇到以下错误。
我尝试运行 pod install --repo-update 和 pod repo update,但它对我不起作用。
[!] CocoaPods 找不到 pod 的兼容版本 “Firebase/CoreOnly”:在 Podfile 中: RNFBApp(来自
../node_modules/@react-native-firebase/app)被解析为8.4.3,这取决于 Firebase/CoreOnly (~> 6.30.0)RNFBFirestore (from `../node_modules/@react-native-firebase/firestore`) was resolved to7.8.2,这取决于 Firebase/Firestore (~> 6.30.0) 被解析为 6.30.0,这取决于 Firebase/CoreOnly (= 6.30.0)
RNFBRemoteConfig (from `../node_modules/@react-native-firebase/remote-config`) was resolved到 6.7.1,这取决于 Firebase/Core (~> 6.13.0) 被解析为 6.13.0,这取决于 Firebase/CoreOnly (= 6.13.0)
CocoaPods 找不到 pod 的兼容版本 “Google-Maps-iOS-Utils”:在 Podfile 中: Google-Maps-iOS-Utils
react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.27.1, which取决于 Google-Maps-iOS-Utils (= 2.1.0)
CocoaPods 找不到 pod“GoogleMaps”的兼容版本:
在 Podfile 中: react-native-google-maps(来自../node_modules/react-native-maps)被解析为0.27.1,它 取决于 Google-Maps-iOS-Utils (= 2.1.0) 被解析为 2.1.0,这取决于 谷歌地图react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.27.1, which取决于 谷歌地图 (= 3.5.0)
谁能给出一个可能的解决方案来解决这个问题?
【问题讨论】:
标签: ios firebase react-native google-maps cocoapods