Cloud FireStore最低部署目标 [英] Cloud FireStore minimum deployment target
本文介绍了Cloud FireStore最低部署目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试通过Cloud FireStore启用应用程序时出现以下错误:
I'm getting the following error when trying to enable an app with 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,但仍然收到此错误.有什么建议吗?
I changed the podfile requirement to 10.2 and my xcode deployment to 10.2 and I am still getting this error. Any suggestions?
对我来说解决方案:我做到了
Solution for me: I did
pod repo update
pod install
pod update
按此顺序有效.
推荐答案
我正在添加到现有项目中,所以我做了
I was adding to an existing project so I did
pod repo update
pod install
pod update
该命令成功了.
我不确定为什么此命令有效,我猜想它会清除/重置Firebase插件中的某个地方.
I'm not sure why this ordered worked, put my guess it would have something to clearing/reset something somewhere in the firebase add ons.
这篇关于Cloud FireStore最低部署目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文