zoukankan      html  css  js  c++  java
  • 关于iOS 'The sandbox is not sync with the Podfile.lock'问题解决方法

    问题描述:

    github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行。出现例如The sandbox is not sync with the Podfile.lock问题时候,如下所示

    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.` 
    

    解决方案

    关闭当前的工作空间,删除掉文件夹中的workspace,然后重新pod install,install完成之后,通过workspace打开工作空间,clean+build即可,如下所示

    rm -rf MyProject.xcworkspace 
    pod install 
    

    在pod install之前,请确保已经执行pod setup命令。

    分享

  • 相关阅读:
    nginx 安装配置
    mysql分表
    冲刺day7
    冲刺day6
    冲刺day5
    冲刺day4
    冲刺day3
    冲刺day2
    冲刺day1
    撰写《需求规格说明书》的工作流程、组员分工和组员工作量比例
  • 原文地址:https://www.cnblogs.com/dbaiyunyun/p/4968412.html
Copyright © 2011-2022 走看看