Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/94.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 从平台迁移:CocoaPods找不到pod的兼容版本;“Firebase/CoreOnly”;_Ios_Flutter_Dart_Podfile - Fatal编程技术网

Ios 从平台迁移:CocoaPods找不到pod的兼容版本;“Firebase/CoreOnly”;

Ios 从平台迁移:CocoaPods找不到pod的兼容版本;“Firebase/CoreOnly”;,ios,flutter,dart,podfile,Ios,Flutter,Dart,Podfile,我正在学习颤振,我想我的应用程序是从两个平台。我将以前在Windows上开发的android Flitter应用程序迁移到mac上的iOS上。但是当我运行pod安装时,我的终端出现了下面的错误,我不知道发生了什么 myDirectory ios% pod install Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "Firebase / CoreOnly": I

我正在学习颤振,我想我的应用程序是从两个平台。我将以前在Windows上开发的android Flitter应用程序迁移到mac上的iOS上。但是当我运行
pod安装时
,我的终端出现了下面的错误,我不知道发生了什么

myDirectory ios% pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase / CoreOnly":
In snapshot (Podfile.lock):
Firebase / CoreOnly (= 7.0.0)

In Podfile:
Firebase / Analytics was resolved to 7.0.0, which depends on
Firebase / Core (= 7.0.0) was resolved to 7.0.0, which depends on
Firebase / CoreOnly (= 7.0.0)

Firebase / MLNLSmartReply was resolved to 5.19.0, which depends on
   Firebase / CoreOnly (= 5.19.0)

我尝试了在互联网上搜索时看到的几个步骤,例如:删除pubspec.lock、删除podfile和podfile.lock、运行sugo gem install cocoapods(安装了1个gem)、运行pod init、运行pod install(就是这个错误产生的)。

您解决了这个问题吗?