Cocoapods 1.10.beta.2 - 无法加载文件列表的内容 (xcfilelist)
Cocoapods 1.10.beta.2 - Unable to load contents of file list (xcfilelist)
我最近将cocoapods更新为1.10.beta.2
,我的项目不再编译,报如下错误:
Unable to load contents of file list: '.../Pods/Target Support
Files/Pods-XXX/Pods-XXX-frameworks-Debug-input-files.xcfilelist'
看起来 pods 团队最近从使用项目的 objectVersion
切换到使用 compatibilityVersion
来决定是否生成此文件列表,如 this commit.
通过将兼容版本升级到 9.3(或更高版本)和 运行 pod install
,应该可以恢复丢失的文件。为此,select 项目和 select 文件检查器下拉列表中的所需版本。
由于此更改出现在 pods 1.10 测试版中,因此它可能会出现在 1.10 及更高版本中。
我最近将cocoapods更新为1.10.beta.2
,我的项目不再编译,报如下错误:
Unable to load contents of file list: '.../Pods/Target Support Files/Pods-XXX/Pods-XXX-frameworks-Debug-input-files.xcfilelist'
看起来 pods 团队最近从使用项目的 objectVersion
切换到使用 compatibilityVersion
来决定是否生成此文件列表,如 this commit.
通过将兼容版本升级到 9.3(或更高版本)和 运行 pod install
,应该可以恢复丢失的文件。为此,select 项目和 select 文件检查器下拉列表中的所需版本。
由于此更改出现在 pods 1.10 测试版中,因此它可能会出现在 1.10 及更高版本中。