This question already has answers here:
Error: “The sandbox is not in sync with the Podfile.lock…” after installing RestKit with cocoapods
(40个答案)
去年关闭。
我对cocoapods有问题。
沙盒与Podfile.lock不同步运行“pod install”或更新您的CocoaPods安装。
虽然,我尝试删除文件夹文件夹,
(40个答案)
去年关闭。
我对cocoapods有问题。
沙盒与Podfile.lock不同步运行“pod install”或更新您的CocoaPods安装。
虽然,我尝试删除文件夹文件夹,
Podfile.lock
文件并删除工作区项目,然后打开终端并键入pod install
,但仍然出错。 最佳答案
我使用这些命令来解决问题。
pod deintegrate
sudo gem install cocoapods-clean
pod clean
# Open the project and delete the “Pods” folder that should be red
pod setup
pod install