项目界面画完了,同事加了点儿代码。我拉取之后报错。
1.报错提示:
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.
2.解决方案:
打开命令行 cd 到项目目录,执行
pod update
同样操作来一次
执行pod install
重新打开Xcode,有一个弹出窗口,点击之后报错消失,编译成功。