Firebase 云FireStore最小部署目标

Firebase 云FireStore最小部署目标,firebase,google-cloud-firestore,Firebase,Google Cloud Firestore,尝试使用Cloud FireStore启用应用程序时,我遇到以下错误: [!] Unable to satisfy the following requirements: - `Firebase/Firestore` required by `Podfile` Specs satisfying the `Firebase/Firestore` dependency were found, but they required a higher minimum deployment target

尝试使用Cloud FireStore启用应用程序时,我遇到以下错误:

[!] Unable to satisfy the following requirements:

- `Firebase/Firestore` required by `Podfile`

Specs satisfying the `Firebase/Firestore` dependency were found, but they required a higher minimum deployment target.
我将podfile需求更改为10.2,将xcode部署更改为10.2,但仍然会遇到此错误。有什么建议吗

编辑: 我的解决方案是:我做到了

pod repo update
pod install
pod update

按照这个顺序,Firestore就可以使用iOS 7和更高版本。更多细节

使用它的最简单的pod文件如下所示:

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
  pod 'Firebase/Core'
  pod 'Firebase/Firestore'
end
应用程序的Xcode部署目标不应对
pod安装产生任何影响


图中显示了所有这些操作。

我正在向现有项目添加内容,所以我添加了

pod repo update
pod install
pod update 
这是命令,它的工作

我不知道为什么这个命令会起作用,我猜它可能需要清除/重置firebase加载项中的某些内容。

我这样做是为了:

从pod文件中删除“Firebase/Firestore”pod
,然后:

pod repo update

pod update

然后我将
pod'Firebase/Firestore'
添加到我的pod文件中,最后执行
pod安装

我遇到了同样的问题。我尝试了
pod repo更新
pod安装
pod更新
,甚至更新了cocoapod

原来我在
pod文件中仍然有
FirebaseDatabase
pod

解决了这个问题

就是这样

pod repo update
pod update
我在尝试将Firebase/函数添加到pod文件时也遇到了同样的问题(找到了满足Firebase/函数依赖关系的规范,但它们需要更高的最小部署目标)

经过几次尝试后,我解决了这个问题,移除了所有的吊舱,然后为我想要的每个吊舱线运行吊舱安装,一个接一个,而不是同时安装所有的吊舱。 最后我发现吊舱“Firebase/Core”是个问题,我最后安装了它,现在一切都安装得很好

这是我的吊舱

def shared_pods
    use_frameworks!
    pod 'Firebase/Functions'
    pod 'Firebase/Core'
    pod 'Firebase/Firestore'
    pod 'Firebase/Storage'
    pod 'Firebase/Database'
    pod 'FirebaseUI/Storage'
    pod 'SDWebImage'
    pod 'Fabric'
    pod 'Crashlytics'
end

安装FirebaseInAppMessaging(0.12.0)

安装FirebaseInAppMessagingDisplay(0.12.0)

我在另一个库中遇到了相同的问题。 实际上,最后一个iOS版本是12。在应用程序上设置此版本时,错误仍然出现


我的解决方案是删除podfile.lock文件(我不知道为什么…

更改podfile后是否运行了
pod update
。我加入了一个现有的项目,所以我做了pod repo更新pod,pod安装,然后pod更新它,这个命令成功了。是的,我完全意识到,我已经让firebase实时运行在其他firebase工具上。我以前也有过podfile错误,但这次没有。我想知道您是否了解这个特定错误,因为我不需要一般的podfile帮助。谢谢。除了分享你的实际播客文件,我不知道还能说些什么。我非常感谢你花时间来帮助我,我只是想问你是否有更多量身定做的建议。但不管怎样,谢谢你抽出时间!对于stackoverflow来说,这是一个太唠叨的话题。你能在firebase talk上问这个问题,我们会在那里调试它吗?即使在回购更新之后,安装对我也不起作用,但执行更新然后安装是有效的:)很高兴听到它起作用,希望如果我的订单对某些人不起作用,您的订单也会起作用。与@BenSullivan相同。谢谢!这个命令对修复Firebase/Core不起作用,但对其他一切都起作用