从SVN上update代码之后,报错如下:

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

解决办法如下:

1、先关闭你的工程,然后进入你工程根目录下

2、rm -rf Pods

3、(Optional) rm -rf YourProject.xcworkspace

4、rm -rf Podfile.lock

5、pod install 

再重新打开你的工程即可

The sandbox is not in sync with the Podfile.lock

参考链接如下:

https://stackoverflow.com/questions/17072396/cocoapods-errors-on-project-build/19131855#19131855

相关文章:

  • 2021-12-25
  • 2021-09-21
  • 2021-12-16
  • 2021-08-31
  • 2021-11-02
  • 2021-07-01
  • 2021-12-04
  • 2021-08-09
猜你喜欢
  • 2021-11-14
  • 2021-11-14
  • 2021-10-05
  • 2021-07-10
  • 2021-08-16
  • 2021-11-27
  • 2021-08-18
相关资源
相似解决方案