You need to enable JavaScript to run this app. Xcode12.2集成Flutter模块时Pods相关xcfilelist加载失败如何解决?
优惠活动
大模型
产品
解决方案
定价
更多

Xcode12.2集成Flutter模块时Pods相关xcfilelist加载失败如何解决?

iOS集成Flutter模块xcfilelist文件加载失败构建报错

报错详情

  • 无法加载文件列表内容:/Target Support Files/Pods-Target Name/Pods-Target Name-frameworks-Debug-input-files.xcfilelist
  • 无法加载文件列表内容:/Target Support Files/Pods-Target Name/Pods-Target Name-frameworks-Debug-output-files.xcfilelist

项目基础信息

  • 集成场景:原生iOS项目嵌入本地Flutter模块,通过CocoaPods完成模块集成配置
  • 当前Podfile配置:
flutter_application_path = 'flutter module path'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'Target Name' do
install_all_flutter_pods(flutter_application_path)
end
  • 开发环境:Xcode 12.2

已验证无效的修复操作

  • 执行pod deintegrate 与 pod install 操作
  • 删除Pods文件夹、Podfile.lock、自动生成的project-name.xcworkspace文件后,重新执行pod install
  • 清空「Embed Pods Frameworks」配置项中原有的InputFileLists与OutputFileLists条目后执行清理构建,触发新报错:Podfile.lock文件未同步,需执行pod install
  • 删除DerivedData目录后执行清理构建

内容的提问来源于stack exchange,提问作者Yash Jadhav

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.11.04 15:06:07