Flutter 命令PhaseScriptExecution失败,颤振中存在非零退出代码?

Flutter 命令PhaseScriptExecution失败,颤振中存在非零退出代码?,flutter,dart,Flutter,Dart,您好开发人员我面临有关firebase firebase_消息传递的问题:^7.0.3 ios上推送通知的依赖项如果我在项目中添加了此依赖项,并且尝试在xcode中打开Flatter模块,我是否收到此错误 “命令阶段说明执行失败,退出代码为非零” /。/Developer/flatter/.pub cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7:错误:结构“SAFEARRAY”为空。空结构是未定义的

您好开发人员我面临有关firebase firebase_消息传递的问题:^7.0.3 ios上推送通知的依赖项如果我在项目中添加了此依赖项,并且尝试在xcode中打开Flatter模块,我是否收到此错误

“命令阶段说明执行失败,退出代码为非零”

/。/Developer/flatter/.pub cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7:错误:结构“SAFEARRAY”为空。空结构是未定义的行为。
类SAFEARRAY扩展结构{}
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7:错误:结构“CLSID”为空。空结构是未定义的行为。
类CLSID扩展结构{}
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7:错误:结构“STATSTG”为空。空结构是未定义的行为。
类STATSTG扩展结构{}
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7:错误:结构“NLM\U模拟的\U配置文件\U信息”为空。空结构是未定义的行为。
类NLM_模拟_配置文件_信息扩展结构{}
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7:错误:结构“utf8”为空。空结构是未定义的行为。
类Utf8扩展了结构{
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7:错误:结构“utf16”为空。空结构是未定义的行为。
类Utf16扩展了结构{
^
../../Developer/flatter/.pub cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33:错误:类型“T”应为“NativeType”的有效实例化子类型。
最终整数totalSize=count*sizeOf();
^
包:flatter_app/main.dart:错误:未找到“main”方法。
尝试将名为“main”的方法添加到程序中。
命令PhaseScriptExecution失败,退出代码为非零
but without  opening in xcode module I tried to run in simulator from android studio my app works fine.
./../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
class SAFEARRAY extends Struct {}
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
class CLSID extends Struct {}
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
class STATSTG extends Struct {}
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
class NLM_SIMULATED_PROFILE_INFO extends Struct {}
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
class Utf8 extends Struct {
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
class Utf16 extends Struct {
      ^
../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
  final int totalSize = count * sizeOf<T>();
                                ^
package:flutter_app/main.dart: Error: No 'main' method found.
Try adding a method named 'main' to your program.

Command PhaseScriptExecution failed with a nonzero exit code