每次在我的新 Macbook M1 上执行 Flutter Run -v 命令时,我都会收到此错误。我已经在所有模拟器和真实设备上尝试过,但得到了同样的错误。
Macbook Pro 2020 M1 芯片 内存8GB
Visual Studio 代码 版本 1.56.2
颤动 Flutter 2.2.0 • 通道稳定 • https://github.com/flutter/flutter.git 框架 • 修订版 b22742018b(11 天前) • 2021-05-14 19:12:57 -0700 引擎 • 修订版 a9d88a4d18 工具 • Dart 2.13.0
请有人帮我解决这个问题吗?
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Debug
VERBOSE_SCRIPT_LOGGING=YES
-workspace Runner.xcworkspace -scheme Runner
BUILD_DIR=/Users/gallands/Documents/churchnotesappflutter/build/ios
-sdk iphonesimulator
SCRIPT_OUTPUT_STREAM_FILE=/var/folders/67/cvjn_r316hlffszflrqp9bcc0000gn/T/flutter_tools.yzQ1OM/flutter_build_log_pi
pe.LjXr4X/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO
-showBuildSettings
Build settings from command line:
BUILD_DIR = /Users/gallands/Documents/churchnotesappflutter/build/ios
COMPILER_INDEX_STORE_ENABLE = NO
FLUTTER_SUPPRESS_ANALYTICS = true
SCRIPT_OUTPUT_STREAM_FILE =
/var/folders/67/cvjn_r316hlffszflrqp9bcc0000gn/T/flutter_tools.yzQ1OM/flutter_build_log_pipe.LjXr4X/pipe_to_stdout
SDKROOT = iphonesimulator14.4
VERBOSE_SCRIPT_LOGGING = YES
objc[7400]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x20838c188) and ??
(0x113e8c2b8). One of
the two will be used. Which one is undefined.
objc[7400]: Class AMSupportURLSession is implemented in both ?? (0x20838c1d8) and ?? (0x113e8c308).
One of the two will
be used. Which one is undefined.
Command: /usr/bin/arch -arm64e xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES
-workspace
Runner.xcworkspace -scheme Runner
BUILD_DIR=/Users/gallands/Documents/churchnotesappflutter/build/ios -sdk
iphonesimulator
SCRIPT_OUTPUT_STREAM_FILE=/var/folders/67/cvjn_r316hlffszflrqp9bcc0000gn/T/flutter_tools.yzQ1OM/flutter_build_log_pipe
.LjXr4X/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO
-showBuildSettings
[ +152 ms] "flutter run" took 399,923ms.
[ +103 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1043:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:91:3)
<asynchronous suspension>
[ +307 ms] ensureAnalyticsSent: 268ms
[ +1 ms] Running shutdown hooks
[ ] Shutdown hooks complete
[ +1 ms] exiting with code 1 ```