![](/img/trans.png)
[英]Flutter shows random error on iOS simulator, or build fails on iOS simulator
[英]Flutter app fails to build on iOS simulator
目前,我對在 Xcode 的 ios 模擬器上運行我的 flutter 應用程序感到非常困惑。 在這些問題之前它已經工作了,但現在我在調用 flutter run 后收到這個構建錯誤:
Exception: Unable to launch alfarogavin2705-icloud.com.kiwis on 8A6F9997-A0BA-441A-A48E-40503A7E3DA4:
ProcessException: Process exited abnormally:
alfarogavin2705-icloud.com.kiwis: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "alfarogavin2705-icloud.com.kiwis" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: Busy ("Application failed preflight
checks").
Underlying error (domain=FBSOpenApplicationErrorDomain, code=6):
The operation couldn’t be completed. Application failed preflight checks
Application failed preflight checks
Command: /usr/bin/xcrun simctl launch 8A6F9997-A0BA-441A-A48E-40503A7E3DA4 alfarogavin2705-icloud.com.kiwis
--enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0
Error launching application on iPhone 11 Pro Max.
老實說,我不知道是什么導致了這個錯誤。
我遇到了同樣的問題。 我認為這是因為一些緩存問題。 關閉並打開另一個適合我的模擬器設備。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.