XCode16 构建 Flutter iOS时出错的结果

文章目录

Unable to find a target named RunnerTests in project Runner.xcodeproj

https://stackoverflow.com/questions/76247185/unable-to-find-a-target-named-runnertests-in-project-runner-xcodeproj

删掉 Podfile 中和 RunnerTests 相关的配置

unable to rename temporary

1Error (Xcode): unable to rename temporary
2'/Users/cai/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9LDJVJOXFOAC/MobileCoreServices-DDUM1B0YO78K-cda47703.pcm.tmp'
3to output file
4'/Users/cai/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/9LDJVJOXFOAC/MobileCoreServices-DDUM1B0YO78K.pcm': 'No such
5file or directory'

https://stackoverflow.com/questions/79118572/xcode-16-and-ios-18-project-not-compiling

配置 Xcode 的 DerivedData 路径,修改为相对路径,即相对 <flutter_project_path>/ios 的路径

alt text