当我在ios模拟器上运行项目时,我在Flutter的Visual Studio代码终端中收到此错误消息
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
└─Compiling, linking and signing... 89.1s
Xcode build done. 470.2s
ProcessException: Process timed out:
Command: /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace
Runner.xcworkspace -scheme Runner
BUILD_DIR=/Users/sai/FlutterSDK/Projects/Todolist/App/Todolist/build/ios -sdk
iphonesimulator -arch x86_64
SCRIPT_OUTPUT_STREAM_FILE=/var/folders/88/w77bfft52rv76y7f9skrrzk40000gq/T/flutter_tools.6EpPE0/
flutter_build_log_pipe.
7KmLr9/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO -
showBuildSettings
您知道导致此错误的原因是什么.......让我知道...
答案 0 :(得分:0)
我已经找出导致此问题的原因,当您在一般终端中更新xcode或android studio Avd或任何与flutter一起使用的工具来修复此Use Flutter upgrade
并转到Visual Studio代码并如果您遇到任何其他问题,请运行Flutter clean
并运行flutter run
,让我知道......