[英]CocoaPods could not find compatible versions for pod "Firebase/Everything"
[英]CocoaPods could not find compatible versions for pod "Firebase/Core” | cloud_firestore, Flutter
我在 pod 中遇到了一些問題,請參見下文
在調試模式下在 iPhone X 上啟動 lib/main.dart... 運行 pod install... CocoaPods 的輸出:↳ 准備中
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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/MethodSwizzler":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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/MethodSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 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:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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)
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:308:in `tap'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'
CocoaPods 的錯誤輸出:↳ [33mWARNING:CocoaPods 要求您的終端使用 UTF-8 編碼。 考慮將以下內容添加到 ~/.profile:
export LANG=en_US.UTF-8
[0m
[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install 在 iPhone X 上啟動應用程序時出錯。
我的設置:VS Code、Flutter
如果您沒有Podfile.lock
文件並且pod update
沒有幫助,請嘗試以下操作:
ios/Pods/Local Podspecs
目錄json
文件以找到所需的最高 ios 版本。 我的是"ios": "10.0"
ios/
目錄Podfile
文件# platform :ios, '9.0'
並將9.0
替換為 2. 步驟中的版本,例如10.0
。
# platform :ios, '9.0'
> platform :ios, '10.0'
pod install
,錯誤應該消失了pod update
應該做的伎倆。 別客氣 :-)
當您升級 FlutterFire 包並嘗試為 iOS 或 macOS 構建時,可能會發生此問題,這通常歸結為以下之一:
這是一些原因及其解決方案
由於這次 SDK 升級,iOS 10 現在是 FlutterFire 支持的最低版本。 請更新您的構建目標版本。
解決方案:
轉到項目中的文件ios/Podfile
,並取消注釋
# platform :ios, '9.0'
然后把版本改成10
platform :ios, '10.0'
然后返回ios/目錄並在終端中運行pod install
並再次嘗試構建。
您的 iOS 或 macOS 目錄中的Podfile.lock
版本已過時並鎖定為舊版本的 Firebase iOS SDK,而新升級的 FlutterFire 軟件包可能使用這些 SDK 的較新版本。
解決方案:刪除Podfile.lock
文件並再次嘗試構建。 此文件將在下一次pod install
后重新生成。
您的 pod 規格存儲庫已過時,這意味着本地 CocoaPods 不知道最近發布的任何潛在更新版本的 Firebase iOS SDK。
解決方案:返回ios/目錄並在終端中運行pod repo update
並再次嘗試構建。
在 mac M1(在 ios 文件夾中)上,嘗試arch -x86_64 pod update
。 為我工作
我遇到了類似的錯誤:
找到了滿足 `firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)` 依賴項的規范,但它們需要更高的最小部署目標。
根據其他答案,我去了Podfile
並更新了:
# platform :ios, '9.0'
platform :ios, '13.0'
然后再次嘗試flutter run
,但這次它卡在了:
Running Xcode build...
等待是不自然的,我的耐心變得越來越薄,所以我放棄了這個改變並尋找另一個解決方案。
flutter clean
flutter pub get
flutter run
無需修改Podfile
指定最小 ios 目標🎉
我有一個類似的問題。 將 Project、Target 和 Podfile 設置為 iOS 12 並失敗。
這是我的 Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!
abstract_target 'all_pods' do
pod 'Alamofire'
pod 'AlamofireImage'
pod 'AlamofireNetworkActivityIndicator'
pod 'Atributika'
pod 'AXPhotoViewer'
pod 'Cache'
pod 'Crashlytics'
pod 'Fabric'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Google-Mobile-Ads-SDK'
pod 'GTMNSStringHTMLAdditions'
pod 'KVLoading'
pod 'MGSwipeTableCell'
pod 'ReachabilitySwift'
pod 'SDCAlertView'
pod 'SideMenuSwift'
pod 'SwiftyJSON'
pod 'SwiftyUserDefaults'
pod 'UIImageViewAlignedSwift'
target 'Test Poject' do
# all_pods
end
end
首先解體以確保
吊艙解體
運行強制回購更新
吊艙安裝--repo-update
Updating local specs repositories
$ /usr/bin/git -C /Users/XYZ/.cocoapods/repos/master fetch origin --progress
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 6), reused 0 (delta 0), pack-reused 0
From https://github.com/CocoaPods/Specs
8b2bcbd42ee..f72b5a3a02a master -> origin/master
$ /usr/bin/git -C /Users/XYZ/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
master
$ /usr/bin/git -C /Users/XYZ/.cocoapods/repos/master reset --hard origin/master
HEAD is now at f72b5a3a02a [Add] DSJSONSchemaValidation 2.0.4
CocoaPods 1.6.0.beta.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.6.0.beta.1
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/MethodSwizzler":
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/MethodSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 5.2.0)` dependency were found, but they required a higher minimum deployment target.
對於帶有 M1 芯片 (2022) 的 Mac:
有什么訣竅:
<project>/ios/
的Podfile
文件中將platform :ios, '9.0'
更改為platform :ios, '11.0'
arch -x86_64 pod install --repo-update
在你的終端( <project>/ios/
)將安裝所有依賴項和 Pod!
享受 !
對於那些擁有帶 M1 芯片的 Apple Mac 的用戶:
-> 試試這個順序,希望你能看到... pod 正在安裝。
arch -x86_64 pod install
或arch -x86_64 pod update
或arch -x86_64 pod install --repo-update
就在 pod 文件上取消注釋
# platform :ios, '9.0'
並用platform :ios, '10.0'
更新它
然后刪除 Podfile.lock 並重新安裝您的應用程序
如果您在 Mac M1 芯片上運行,請嘗試運行以下命令:
arch -x86_64 pod install --repo-update
我有同樣的問題,但這對我有幫助。
pod 'Firebase/Core', '>= 0'
pod 'FirebaseCrashlytics', '>= 0'
它將 FirebaseCore 和 FirebaseCrashlytics 更新到最新版本
這三個步驟對我有用。
將 cocoapods 升級到最新版本:
sudo gem install cocoapods
刪除/Pods
文件夾和Podfile.lock
文件
運行pod repo update
為了解決這個問題,我打開了 Podfile。 然后
如其他答案中所述,我取消了platform: ios, '8.0'
注釋並將其替換為platform :ios, '10.0'
。
我替換了以下代碼:
target 'Runner' do
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.3.0'
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
使用此代碼:
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
pod 'Firebase/Core'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
ios
文件夾中運行了以下命令。$ pod install
一切順利。 我沒有看到任何問題,但有很多綠色日志基本上與Installing FirebaseX...
最后我收到了這條消息:
Pod installation complete! There are 8 dependencies from the Podfile and 24 total pods installed.
我僅通過從配置文件更新平台版本就解決了這個問題:
轉到iOS/Podfile :
打開 Podfile
取消注釋平台版本:
# platform :ios, '9.0' //Uncomment this line
對此:
platform :ios, '10.0' //Uncomment & make version '9.0' to '10.0'
繁榮。!! 解決這個問題。
我對 firebase Admob 也有類似的問題,我的問題是我同時使用了 admob_flutter 和 firebase_admob 包。 一旦我從 pubspec.yaml 中刪除了 admob_flutter 包,一切正常!
我在廣告連播中遇到了一些問題,請參見下文
在iPhone X上以調試模式啟動lib / main.dart ...運行pod安裝... CocoaPods的輸出:↳准備
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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/MethodSwizzler":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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/MethodSwizzler (~> 5.2.0)
Specs satisfying the `GoogleUtilities/MethodSwizzler (~> 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:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
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)
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:308:in `tap'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.5/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'
CocoaPods輸出的錯誤:↳[33m警告:CocoaPods要求您的終端使用UTF-8編碼。 考慮將以下內容添加到〜/ .profile中:
export LANG=en_US.UTF-8
[0m
[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
運行Pod安裝時出錯在iPhone X上啟動應用程序時出錯。
解決問題 (Intelli J)
簽入 IOS flutter 文件夾 Podfile.lock 生成。
運行“flutter doctor -v”來識別 Flutter、Dart、Xcode 和 CocoaPods 的版本。
如果找不到可可豆莢,請按照安裝命令。
sudo gem 卸載 cocoapods brew 卸載 cocoapods
sudo gem install cocoapods pod setup
在 Podfile - 未注釋的平台:ios,'9.0' 並將其替換為平台:ios,'10.0'。
運行構建
在調試模式下在 iPhone 12 Pro Max 上啟動 lib/main.dart...運行 pod install...運行 Xcode build...Xcode build 完成。
對我來說是這樣的:
def firebase_sdk_version!() '8.7.0' end
更改為def firebase_sdk_version!() '8.5.0' end
pod install
我不得不在 Podfile 中更新。
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'
。
到新版本。
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.9.1'
這里同時存在兩個問題。 由於 firebase dep,無法更新可可豆莢。 並且由於最小部署目標而無法更新。
做:
這就是訣竅
對我來說,解決方案是:
16.0.0
到16.5.1
。 為了快速做到這一點,我正在使用NVM 。npm install -g firebase-tools
的 Firebase CLI。 Firebase CLI 文檔。 我的版本是firebase-tools@11.0.1
。 如果您有更多包,請使用npm list -g
列出它們,然后將它們安裝在新的 NodeJS 版本中。firebase login
訪問您的 Firebase 控制台。flutter clean
& flutter pub get
。flutterfire configure
以設置您的應用與 Firebase 之間的連接。 PS。 根據https://pub.dev/packages/firebase_core/versions ,最小 Dart 是2.16
。 也許你需要在你的pubspec.yaml
上改變它
此問題來自添加到 pod 文件的以下行。 始終確保在此處將標簽更新為正確的版本。 firebase 文檔中的默認版本有時會過時,應通過檢查將其更新為當前版本。
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.11.0'
pod repo update
對我有用
在我的例子中,我必須刪除.symlinks、Podfile.lock、Podfile 並在 Android Studio 中啟動應用程序。
在您的 Podfile 中,添加您要在應用中使用的 Firebase pod。
平台:ios,'10.0'
pod 'Firebase/分析'
pod 'Firebase/Auth' pod 'Firebase/Firestore'
Cocoapods 拒絕更新到最新的 Firebase,因為依賴項需要更高的最低部署目標。
您需要更新自己應用的部署目標,或者使用舊版本的 firebase SDK。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.