Unhandled exception:
Exception: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- xcodeproj (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from -e:1:in `<main>'
#0 ConfigCommand.run (package:flutterfire_cli/src/commands/config.dart:517:11)
<asynchronous suspension>
#1 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#2 main (file:///Users/dylanguzman/.pub-cache/hosted/pub.dartlang.org/flutterfire_cli-0.2.6+1/bin/flutterfire.dart:57:5)
<asynchronous suspension>
我试过:
flutterfire configure --project=test-app-egr423
使用以下Firebase应用程序成功生成Firebase配置文件lib/firebase_options.dart:
1条答案
按热度按时间whlutmcx1#
我得到同样的错误时,使用
flutterfire
版本0.2.7
在我的MacBook Air M1运行flutterfire configure
.在我的情况下,我解决了这个问题,打开终端,并运行以下命令:或者,如果运行命令时出现任何权限错误:
我希望这也能为你解决这个问题。我从this Github问题中找到了我的解决方案。