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

使用cocoapods集成的 第三方库报错

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

查询网上说的解决方案如下: (都试了仍然报错, 后面给出我的解决方案)

$ rm -rf XXProject.xcworkspace
$ rm -rf Podfile.lock
$ pod setup
$ pod install
  • 注: XXProject是工程项目名称, 需要替换
经过上面的处理, 并没有解决我的问题, 我的解决方案如下:
  • 由原来的build-debug, build-release设置成Pods-mobile.debugPods-mobile.release
    image.png

参考链接: 这里

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容