如何知道 pod 需要的最小部署目标?
How to know the minimum deployment target a pod needs?
我在我的应用程序中使用 firebase_app_check
,当我 运行
pod install
它给我一个错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/AppCheck":
In Podfile:
firebase_app_check (from .symlinks/plugins/firebase_app_check/ios
) was resolved to 0.0.6-4, which depends on
Firebase/AppCheck (~> 8.10.0)
Specs satisfying the Firebase/AppCheck (~> 8.10.0)
dependency were found, but they required a higher minimum deployment target.
我的 Podfile
中有以下内容
platform :ios, '10.0'
当我阅读 firebase_app_check.podspec.json
文件时,它提到部署目标必须是 9.0
或更高:
"platforms": {
"ios": "9.0"
}
但是如果我将最小部署目标增加到 11.0
,它就可以工作。那么,我在哪里以及如何知道依赖项需要的最低部署目标是什么?
我在我的应用程序中使用 firebase_app_check
,当我 运行
pod install
它给我一个错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/AppCheck": In Podfile: firebase_app_check (from
.symlinks/plugins/firebase_app_check/ios
) was resolved to 0.0.6-4, which depends on Firebase/AppCheck (~> 8.10.0)Specs satisfying the
Firebase/AppCheck (~> 8.10.0)
dependency were found, but they required a higher minimum deployment target.
我的 Podfile
platform :ios, '10.0'
当我阅读 firebase_app_check.podspec.json
文件时,它提到部署目标必须是 9.0
或更高:
"platforms": {
"ios": "9.0"
}
但是如果我将最小部署目标增加到 11.0
,它就可以工作。那么,我在哪里以及如何知道依赖项需要的最低部署目标是什么?