我正在编写 Flutter 应用程序并面临一个问题。我正在尝试运行应用程序 iPhone 8 模拟器 (14.4)。但它给了我以下错误。这几天我一直试图解决它,但到目前为止没有运气。 有人可以帮我吗?
谢谢,
myname@my-iMac testApp % flutter run
Multiple devices found:
iPhone 8 (mobile) • 3A6E5E12-34A8-4FA1-A8D1-6F224585DB7F • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
iPhone 11 (mobile) • 0605CF9E-866A-46CD-8AFA-07DDAC5741C6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114
[1]: iPhone 8 (3F6E9E90-32B8-4DF1-B8D1-6F224585DB7F)
[2]: iPhone 11 (0605CF9E-866A-46CD-8AFA-07DDAC5741C6)
[3]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 1
Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...
Xcode build done. 19.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description