动态

详情 返回 返回

Xcode 升級16.x後flutter項目無法啓動 - 动态 详情

報錯如下:


Uncategorized (Xcode): Command SwiftGeneratePch emitted errors but did not return a nonzero exit code to
indicate failure


Error (Xcode): no such file or directory:
'/Users/chiragbhansali/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation'


Error (Xcode): stat cache file
'/Users/chiragbhansali/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.0-22A3362-
db63dc9361471f152f572502bdbfe70a.sdkstatcache' not found

......

解決辦法:

將 Xcode 工作區設置(File -> Workspace Settings)中DerivedData文件夾的位置更改為其他位置。

Add a new 评论

Some HTML is okay.