Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.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
FIREBASE FOR Flatter CodeLab在IOS sim上不工作_Firebase_Flutter_Flutter Dependencies - Fatal编程技术网

FIREBASE FOR Flatter CodeLab在IOS sim上不工作

FIREBASE FOR Flatter CodeLab在IOS sim上不工作,firebase,flutter,flutter-dependencies,Firebase,Flutter,Flutter Dependencies,我对Flitter还很陌生,想将Firebase添加到我的Flitter应用程序中。所以我浏览了颤振代码实验室: 但是,当我将Cloud_Firestore软件包添加到我的Pubspec.yaml文件时,我会收到错误: dependencies: flutter: sdk: flutter cloud_firestore: ^0.8.2 # new 我继续希望下面的活动能够解决这个问题,并创建了GoogleService-Info.plist文件,并按照指示添

我对Flitter还很陌生,想将Firebase添加到我的Flitter应用程序中。所以我浏览了颤振代码实验室:

但是,当我将Cloud_Firestore软件包添加到我的Pubspec.yaml文件时,我会收到错误:

    dependencies:
  flutter:
    sdk: flutter
  cloud_firestore: ^0.8.2     # new
我继续希望下面的活动能够解决这个问题,并创建了GoogleService-Info.plist文件,并按照指示添加了该文件。 然而,我仍然得到错误和建设失败

以下是错误:

Xcode生成的错误输出:↳ 2019-01-21 10:19:17.576 xcodebuild[70286:12860097][MT]插件加载:必需的插件 用于at插件的兼容性UUID D7881182-AD00-4C36-A94D-F45FC9B0CF85 路径“~/Library/Application” Support/Developer/Shared/Xcode/plugins/RealmPlugin.xcplugin“不是 存在于DVTPluginCompatibilityUIDS 2019-01-21 10:19:17.577中 xcodebuild[70286:12860097][MT]插件加载:必需的插件 用于at插件的兼容性UUID D7881182-AD00-4C36-A94D-F45FC9B0CF85 路径“~/Library/Application” Support/Developer/Shared/Xcode/plugins/Alcatraz.xcplugin“不存在” 在DVTPluginCompatibilityUIDS中 **构建失败**

如果您能帮助解决此问题,我们将不胜感激
谢谢

好的,我找到了答案。不确定为什么会发生这种情况,似乎是因为cloud_firestore 0.8.0中的一个bug

因此,如果其他人有此错误,请执行以下操作:

  • 转到终端,打开应用程序目录

  • 光盘ios

  • pod更新火力基地

  • 这应该可以解决问题