我正在尝试安装,pod 'Firebase/Functions'
但失败,并出现以下错误:
`[!] CocoaPods找不到Pod“ Firebase / Functions”的兼容版本:在Podfile中:Firebase / Functions
Firebase/Functions
找到了满足依赖性的规范,但是它们需要更高的最低部署目标。
这是我的Pod文件
# Uncomment the next line to define a global platform for your project
# platform :ios, '11.0'
target 'MyApp' do
# Comment the next line if you're not using Swift and don't want to
use dynamic frameworks
use_frameworks!
# Pods for MyApp
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/Messaging' ,'~> 4.6.0'
pod 'Firebase/Storage'
pod 'Firebase/Functions'
pod 'GoogleMaps'
pod 'FirebaseUI/Auth'
pod 'FirebaseUI/Phone'
pod 'ImageSlideshow', '~> 1.6'
pod 'DZNEmptyDataSet'
pod 'SDWebImage'
pod 'SDWebImage/WebP'
target 'MyAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'MyAppUITests' do
inherit! :search_paths
# Pods for testing
end
结束
我已经搜索了一些资源,并让我执行3个步骤:
pod repo update
pod update
pod install
我已经完成了这三个步骤,但仍然无法正常工作。
删除'~> 4.6.0'
。
FirebaseFunctions
在Firebase 4.6.0之后引入的,因此与版本限制不兼容pod 'Firebase/Messaging' ,'~> 4.6.0'
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句