xcode 错误:无法加载文件列表的内容:'/Target Support Files/Pods-xx/Pods-xx-frameworks-Debug-input-files.xcfilelist'(在目标'xx'中)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/56160460/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:56:44  来源:igfitidea点击:

error: Unable to load contents of file list: '/Target Support Files/Pods-xx/Pods-xx-frameworks-Debug-input-files.xcfilelist' (in target 'xx')

iosswiftxcodecocoapods

提问by Vanessa Leung

XCode Version 10.2.1

XCode 版本 10.2.1

error: Unable to load contents of file list: '/Target Support Files/Pods-SMarket/Pods-SMarket-frameworks-Debug-input-files.xcfilelist' (in target 'SMarket')

error: Unable to load contents of file list: '/Target Support Files/Pods-SMarket/Pods-SMarket-frameworks-Debug-output-files.xcfilelist' (in target 'SMarket')

error: Unable to load contents of file list: '/Target Support Files/Pods-SMarket/Pods-SMarket-resources-Debug-input-files.xcfilelist' (in target 'SMarket')

error: Unable to load contents of file list: '/Target Support Files/Pods-SMarket/Pods-SMarket-resources-Debug-output-files.xcfilelist' (in target 'SMarket')

错误:无法加载文件列表的内容:“/Target Support Files/Pods-SMarket/Pods-SMarket-frameworks-Debug-input-files.xcfilelist”(在目标“SMarket”中)

错误:无法加载文件列表的内容:“/Target Support Files/Pods-SMarket/Pods-SMarket-frameworks-Debug-output-files.xcfilelist”(在目标“SMarket”中)

错误:无法加载文件列表的内容:“/Target Support Files/Pods-SMarket/Pods-SMarket-resources-Debug-input-files.xcfilelist”(在目标“SMarket”中)

错误:无法加载文件列表的内容:“/Target Support Files/Pods-SMarket/Pods-SMarket-resources-Debug-output-files.xcfilelist”(在目标“SMarket”中)

I tried this solution, not working.

我试过这个解决方案,不起作用。

I tried to clean, rebuild the project, still failed.

我试图清理,重建项目,仍然失败。

No idea which part generates these errors, please comment if I need to show details of specific files.

不知道哪个部分会产生这些错误,如果我需要显示特定文件的详细信息,请发表评论。

My Target -> Build Phases: enter image description here

我的目标 -> 构建阶段: 在此处输入图片说明

[CP] Embed Pods Frameworksenter image description here

[CP] Embed Pods Frameworks在此处输入图片说明

[CP] Copy Pods Resourcesenter image description here

[CP] Copy Pods Resources在此处输入图片说明

回答by Igor Voynov

pod deintegrate

then

然后

pod update

回答by Vanessa Leung

I found out under [CP] Embed Pods Frameworksand [CP] Copy Pods Resources, there're input files and output files sections. Just deleted files in those sections, and it works.

我发现在[CP] Embed Pods Frameworks和下[CP] Copy Pods Resources,有输入文件和输出文件部分。刚刚删除了这些部分中的文件,它可以工作。

But I still have no idea why this error is generated.

但我仍然不知道为什么会产生这个错误。

enter image description here

在此处输入图片说明

回答by Mahfuz

In my case -> pod deintegrate -> pod clean -> pod install
then rebuild the project works.

在我的情况下 -> pod deintegrate -> pod clean -> pod install
然后重建项目工作。

My XCode = 11.3.1

我的 XCode = 11.3.1