gpt4 book ai didi

ios - CocoaPods 找不到 pod 的兼容版本 "GoogleDataTransportCCTSupport"

转载 作者:行者123 更新时间:2023-12-03 17:45:58 26 4
gpt4 key购买 nike

我已根据指南安装了 Firebase In App Messaging:https://rnfirebase.io/in-app-messaging/usage

当我运行pod install时,我得到:

Using firebase.json from '/../app/firebase.json'
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Adding a custom script phase for Pod RNFBCrashlytics: [RNFB] Crashlytics Configuration
Detected React Native module pods for RNFBAnalytics, RNFBApp, RNFBCrashlytics, RNFBDynamicLinks, and RNFBInAppMessaging
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransportCCTSupport":
In snapshot (Podfile.lock):
GoogleDataTransportCCTSupport (= 2.0.2, ~> 2.0)

In Podfile:
RNFBInAppMessaging (from `../node_modules/@react-native-firebase/in-app-messaging`) was resolved to 6.4.0, which depends on
Firebase/InAppMessaging (~> 6.13.0) was resolved to 6.13.0, which depends on
Firebase/CoreOnly (= 6.13.0) was resolved to 6.13.0, which depends on
FirebaseCore (= 6.4.0) was resolved to 6.4.0, which depends on
FirebaseCoreDiagnostics (~> 1.0) was resolved to 1.2.3, which depends on
GoogleDataTransportCCTSupport (~> 2.0)

RNFBInAppMessaging (from `../node_modules/@react-native-firebase/in-app-messaging`) was resolved to 6.4.0, which depends on
Firebase/InAppMessaging (~> 6.13.0) was resolved to 6.13.0, which depends on
FirebaseInAppMessaging (~> 0.15.5) was resolved to 0.15.6, which depends on
GoogleDataTransportCCTSupport (~> 1.0)


You have either:
* changed the constraints of dependency `GoogleDataTransportCCTSupport` inside your development pod `RNFBInAppMessaging`.
You should run `pod update GoogleDataTransportCCTSupport` to apply changes you've made.

我尝试了一些方法,包括 pod install --repo-update 但没有任何帮助。

最佳答案

将 pod 'FirebaseCoreDiagnostics', '1.2.1' 添加到 Podfile 可能是一种解决方法,因为 podspec只需要 GoogleDataTransportCCTSupport 1.x。

这些 Firebase 版本已有几个月的历史 - 因此另一种方法是鼓励 React Native 更新包装器。

关于ios - CocoaPods 找不到 pod 的兼容版本 "GoogleDataTransportCCTSupport",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61252212/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com