您的位置:首页 > 移动开发 > IOS开发

iOS "The sandbox is not in sync with the Podfile.lock"

2017-03-28 14:06 603 查看
使用cocoa pods运行报错

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项目,运行

1-打开终端-->拖入报错的文件

2-输入rm -rf AMapPlaceChooseDemo.xcworkspace
;//注意修改个人的文件名,然后return

3-输入pod install,即可

[plain] view
plain copy

rm -rf AMapPlaceChooseDemo.xcworkspace  

pod install  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐