Flutter iOS项目执行pod install遇Firebase/Firestore版本兼容问题
Flutter iOS项目pod install时Firebase/Firestore版本兼容问题(未修改依赖)
未修改任何依赖的情况下,我的Flutter iOS项目执行pod install时出现Firebase/Firestore版本兼容问题,具体报错如下:
[!] CocoaPods could not find compatible versions for pod "Firebase/Firestore": In snapshot (Podfile.lock): Firebase/Firestore (= 10.15.0) In Podfile: cloud_firestore (from .symlinks/plugins/cloud_firestore/ios) was resolved to 4.13.3, which depends on Firebase/Firestore (= 10.18.0) Specs satisfying the Firebase/Firestore (= 10.15.0), Firebase/Firestore (= 10.18.0) dependency were found, but they required a higher minimum deployment target. [!] Automatically assigning platform iOS with version 12.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 installpod updatepod repo updateflutter cleanflutter pub get
此外我还升级了Flutter及所有依赖包,并且重新创建了Podfile和Podfile.lock文件,依然无法解决问题。有没有人遇到过相同的问题?
内容的提问来源于stack exchange,提问作者BeNdos88
相关产品推荐
相关产品推荐

