The sandbox is not in sync with the Podfile.lock

青旅半醒 2023-10-17 14:13 91阅读 0赞

从SVN上update代码之后,报错如下:

error: The sandbox is not in sync with the Podfile.lock. Run ‘pod install’ or update your CocoaPods installation.

解决办法如下:

1、先关闭你的工程,然后进入你工程根目录下

2、rm -rf Pods

3、(Optional) rm -rf YourProject.xcworkspace

4、rm -rf Podfile.lock

5、pod install

再重新打开你的工程即可

Center

参考链接如下:

https://stackoverflow.com/questions/17072396/cocoapods-errors-on-project-build/19131855#19131855

发表评论

表情:
评论列表 (有 0 条评论,91人围观)

还没有评论,来说两句吧...

相关阅读