swift - Flutter + Swift:目标支持文件错误
问题描述
最近我的 Flutter 项目在 Debug 上运行我的应用程序时遇到了问题(它适用于 Release)。我有三个一致的错误,如果我对一个错误使用已知的解决方案,它会直接回到另一个错误。我已经在这个循环中停留了一段时间,我不确定发生了什么。总的来说,我对 Swift 和 Flutter 还很陌生,感谢您的帮助。
错误一:
error: Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-input-files.xcfilelist' (in target 'Runner' from project 'Runner')
error: Unable to load contents of file list: '/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist' (in target 'Runner' from project
'Runner')
对于上述错误,已知的解决方案是删除 Xcode 中的 Input File Lists 选项,如果我这样做,这会导致我直接进入以下错误:
flutter/packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
对我有用的上述错误的解决方案是将Debug Profile
下更改Project
为Generated
. 这解决了错误,但导致我:
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
运行 pod install 后,Error 2
重新出现。
解决方案
推荐阅读
- crafter-cms - 无法在 Crafter CMS 中使用内容继承
- java-8 - Java 8 流在读取文件和查找字数方面比通常的循环花费更多时间
- flutter - Flutter PositionedTapDetector 不适用于堆栈小部件
- google-cloud-platform - 如何以间隔方式从 GCP 更新价格
- angular - 无法清除 Observable 订阅方法中的数组组件变量
- mysql - 从存储过程mysql 5.7制作存储过程
- python - Python Regex - 解析字符串并提取键=值对
- c++ - 不知道如何读取PCL列检测显示结果
- reactjs - 用箭头问题反应传单折线
- r - 错误:需要 TRUE/FALSE 的地方缺少值(if (func.lambda) 中的错误