Xcode 构建失败差异:/Podfile.lock:没有这样的文件或目录



Using Xcode 9.2.我在根目录中运行了 Pod 安装并进行了清理和构建,但仍然存在问题。我什至删除了pod文件,Manifestfile。锁定文件并直接在root中运行POD安装,并进行了清理和构建,但问题仍然保持不变。对此解决方案的任何建议将不胜感激。

diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or 
update your CocoaPods installation.

您是否尝试过清洁/取消清洁?

$ sudo gem install cocoapods-deintegrate cocoapods-clean
$ pod deintegrate
$ pod clean
$ rm Podfile

另请参阅:如何从项目中删除CocoaPods?

最新更新