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

4,873 阅读1分钟

遇到问题

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然后重新安装都不行。
删除lock文件,步骤:Build Phases -->Check Pods Manifest.lock 删除这个之后就好了。