美文网首页iOS
iOS "The sandbox is not in sync

iOS "The sandbox is not in sync

作者: HsuKit | 来源:发表于2017-06-22 11:12 被阅读0次

一般出现在更新Cocoapod之后或者你项目上传在第三方托管平台并且用了Cocoapod来管理第三方库时,别人下载你代码会出现的报错:

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.`

解决方案:

关闭现在的工作空间,删掉以前的xcworkspace,然后重新pod install,install完后,重新打开项目,clean+build项目,运行

rm -rf MyProject.xcworkspace

pod install

相关文章

网友评论

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

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