美文网首页
cocoapods diff: /../Podfile.lock

cocoapods diff: /../Podfile.lock

作者: xing_x | 来源:发表于2023-08-10 17:30 被阅读0次
    error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
    

    是因为项目中存在多个的pods-debug.xcconfig,
    需要找到 build-debug 文件,引入 pod 下来的pods-debug.xcconfig,
    解决方案:在build-debug中引入 pod 下来的 xcconfig 文件就可以了

    include "../Pods/Target Support Files/Pods-base-app/Pods-base-app.debug.xcconfig"
    

    同方法在 release 中也引入对应的文件就可以解决这个报错。


    WeChat4ef6124bb8b6b868a9a8817a065945bd.jpg WeChatb9908e7efea02d5daeaa0649763b196f.jpg
    WechatIMG38.jpg

    相关文章

      网友评论

          本文标题:cocoapods diff: /../Podfile.lock

          本文链接:https://www.haomeiwen.com/subject/tdjzpdtx.html