我的Podfile看起来像这样
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来自gRPC++/实现和gRPC/Main使用不同版本(1.14.0,1.14.1),如何解决这个问题?
发布于 2018-09-19 14:31:15
请重新运行
pod update
他们修好了。请查看:https://github.com/firebase/firebase-ios-sdk/issues/1845
解决了导致CocoaPods错误的Firebase/Core依赖项问题。(#1845,#8110)
发布于 2018-09-19 04:16:10
我也有同样的问题,下面这个问题对我很有帮助。更改您的Podfile:
发自:
platform :ios, '11.2'
至:
platform :ios, '9.0'
发布于 2018-09-19 19:23:09
Now:在5.8.1版-2018年9月19日修复了这个问题
火力支援
你说得对,这个问题仍然存在,甚至降级平台版本,我已经与我们的工程师协调,等待他们的反应。目前,通过将Firebase/Core版本降级为5.7.0,我能够正确地安装。“‘Firebase/Core”,“5.7.0”。然后执行pod安装/ pod更新。
https://stackoverflow.com/questions/52397642
复制相似问题