美文网首页Objective-c
iOS The sandbox is not in sync w

iOS The sandbox is not in sync w

作者: 皇兄_7e74 | 来源:发表于2017-03-07 14:47 被阅读29次

在开发过程中经常会去下载大神的demo进行学习和参考,这些下载下来的demo往往会遇到The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.这种错误,这是因为第三方库没有进行更新

我们用终端进行更新

打开终端,cd到项目根目录(不知道路径的可以手动把项目拖进终端)

然后pod setup 更新下本地的pod spec 库时间有点长,可以先小憩一会

然后再 执行:pod update --verbose --no-repo-update 更新pod,然后再运行

完美解决

相关文章

网友评论

    本文标题:iOS The sandbox is not in sync w

    本文链接:https://www.haomeiwen.com/subject/laemgttx.html