我的播客文件看起来像这样
platform :ios, '11.2'
target 'live-quiz' do
use_frameworks!
pod 'Fabric'
pod 'Crashlytics'
pod 'Kingfisher'
pod 'Alamofire'
pod 'youtube-ios-player-helper'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'Firebase/Storage'
pod 'CodableFirebase'
pod 'FBSDKLoginKit'
pod 'CountryPickerSwift'
pod 'lottie-ios'
pod 'SwiftySound'
end
我可以运行pod更新没有问题之前,但今天后,我运行pod更新
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
Firebase/Core
Specs satisfying the `Firebase/Core` dependency were found, but they required a higher minimum deployment target.
CocoaPods could not find compatible versions for pod "GoogleUtilities/AppDelegateSwizzler":
In Podfile:
Firebase/Core was resolved to 5.8.0, which depends on
FirebaseAnalytics (= 5.1.2) was resolved to 5.1.2, which depends on
GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.
CocoaPods could not find compatible versions for pod "gRPC-Core":
In Podfile:
Firebase/Firestore was resolved to 5.8.0, which depends on
FirebaseFirestore (= 0.13.3) was resolved to 0.13.3, which depends on
gRPC-C++ (~> 0.0.3) was resolved to 0.0.3, which depends on
gRPC-C++/Implementation (= 0.0.3) was resolved to 0.0.3, which depends on
gRPC-Core (= 1.14.0)
Firebase/Firestore was resolved to 5.8.0, which depends on
FirebaseFirestore (= 0.13.3) was resolved to 0.13.3, which depends on
gRPC-ProtoRPC (~> 1.0) was resolved to 1.14.1, which depends on
gRPC-ProtoRPC/Main (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC/Main (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC-Core (= 1.14.1)
看起来gRPC-C++/实现和gRPC/Main中的gRPC-Core使用了不同的版本(1.14.0,1.14.1)如何修复此问题?
5条答案
按热度按时间apeeds0o1#
请重新运行
他们修好了。请查看:https://github.com/firebase/firebase-ios-sdk/issues/1845
解决了导致CocoaPods错误的Firebase/Core依赖关系问题。(#1845、#8110)
7kqas0il2#
我有同样的问题,以下为我工作.更改您的Podfile:
发件人:
致:
liwlm1x93#
现在:Google在版本5.8.1中修复了此问题-2018年9月19日
来自火力支援
你是对的,即使降级平台版本问题仍然存在,我已经和我们的工程师协调过这个问题,等待他们的回应。现在,我可以通过将Firebase/Core版本降级到5.7.0(即“Firebase/Core”、“5.7.0”)来正确安装。然后进行pod安装/ pod更新。
eiee3dmh4#
我遇到了同样的问题,请尝试补充:
在项目的Podfile中,然后运行:
8e2ybdfx5#
只需执行完全清理(Pod重置)