ERROR: Parsing unable to continue due to merge conflicts in Podfile.lock

ERROR: Parsing unable to continue due to merge conflicts in Podfile.lock

最近更新 Xcode 我在使用播客文件时遇到了很大的麻烦。 我无法将任何新的 pods 添加到我现有的 pod 文件中,因此我决定创建一个新项目并将我的所有内容复制到其中。但现在我不得不再次面对同样的问题,如果我们能够解决这个问题,我会非常高兴。

正如标题所说,每次我尝试使用 pod install 或任何其他 pod 命令时都会收到以下错误:

错误:由于存在合并冲突,无法继续解析: 文件位于 /Users/Al/Xcode/Alpha/Podfile.lock

在整个错误日志的末尾,它说:

<<<<<<< 头

PODFILE 校验和:ee6160c5c3b5d0c8ebc5ddcb9ac0841413b85dc3

=======

PODFILE 校验和:d5cfd70801e862e4ade36c54ca4ad6698be59373

D>>>>>>>> 41bfa2c75e2c2a1832f998baf7bd445e385ba513

椰子足类:1.3.1

如果您不需要确保保留任何 Pods 的以前版本,请删除 Podfile.lock 文件,然后重新创建 pod install:

rm /Users/Al/Xcode/Alpha/Podfile.lock
pod install