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命令。

iOS 'The sandbox is not sync with the Podfile.lock'问题解决

时间: 2024-08-03 03:20:27

iOS 'The sandbox is not sync with the Podfile.lock'问题解决的相关文章

关于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

iOS \'The sandbox is not sync with the Podfile.lock\'问题解决

iOS \'The sandbox is not sync with the Podfile.lock\'问题解决 HUANGDI 发表于 2015-02-27 09:51:13 问题描述: github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行.出现例如The sandbox is not sync with the Podfile.lock问题时候,如下所示 diff: /../Podfile.lock: No such file or d

'The sandbox is not sync with the Podfile.lock'问题解决

github下载的Demo,很多时候使用到CocoaPods,有的时候因为依赖关系或者版本问题不能编译运行.出现例如The sandbox is not sync with the Podfile.lock问题时候 解决方案:关闭当前的工作空间,删除掉文件夹中的workspace,然后重新pod install,install完成之后,通过workspace打开工作空间,clean+build即可(在pod install之前,请确保已经执行pod setup命令) 'The sandbox i

GitHub 上下载代码运行报错 :'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

解决 The sandbox is not sync with the Podfile.lock问题时候,如下所示

问题描述: github  / sourcetree下载的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 i

iOS "The sandbox is not in sync with the Podfile.lock"解决方式

更新Cocoapod之后出现故障: 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.` 解决方式: 关闭如今的工作空间,删掉曾经

iOS "The sandbox is not in sync with the Podfile.lock"解决方案

更新Cocoapod之后出现问题: 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.` 解决方案: 关闭现在的工作空间,删掉以前

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

I. Project Cleanup In the project navigator, select your project Select your target Remove all libPods*.a in  Linked Frameworks and Libraries II. Update CocoaPods Launch Terminal and go to your project directory. Update CocoaPods using the command  p

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

出现这样的错误: error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 具体如图: 我按照提示在终端打开工程,pod install 和 pod update 都试了一遍,然并卵.只好拿出杀手锏: Project -> Info -> Configurations -> Debug 改为 Pods.debug, Re