您的位置:首页 > 其它

The sandbox is not in sync with the Podfile.lock

2017-07-12 14:18 483 查看
从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 

再重新打开你的工程即可



参考链接如下:

https://stackoverflow.com/questions/17072396/cocoapods-errors-on-project-build/19131855#19131855
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐