cocoapods diff: /../Podfile.lock: No such file or directory 解决方案

  在运行之前的使用 CocoaPods 工程时,有时会报错: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
  Podfile.lock
  Pods文件夹
  ~/Library/Developer/Xcode/DerivedData路径下对应工程的文件夹  
  重新执行 Pod install。
  
  
 
 
 
 
posted @ 2017-08-24 14:40  ZachRobin  阅读(271)  评论(0编辑  收藏  举报