在使用cocoapods时,偶尔会出现,打开新工程xcodepods报红了啊。不要担心:以下方法搞定:
iff: /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.
-
稍微复杂一点,删除以下文件:
xcworkspace
Podfile.lock
Pods文件夹
~/Library/Developer/Xcode/DerivedData路径下对应工程的文件夹然后重新执行pod install
本文介绍了解决CocoaPods安装过程中遇到的各种错误的方法。包括如何删除和重建项目中的一些关键文件来修复错误,如Podfile.lock、Pods文件夹等。
777

被折叠的 条评论
为什么被折叠?



