gpt4 book ai didi

ios - 错误: "The sandbox is not in sync with the Podfile.lock..." after installing RestKit with cocoapods

转载 作者:行者123 更新时间:2023-12-03 04:09:08 24 4
gpt4 key购买 nike

在使用 cocoapods 安装 RestKit 后,我​​遇到了一个奇怪的问题。在使用 cocoapods 解决我的项目的 RestKit 依赖关系并尝试构建它之后,我面临以下错误:

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

我尝试运行pod install,但没有任何变化。

以下是一些截图: enter image description here

enter image description here

  PODS:
- AFNetworking (1.3.3)
- RestKit (0.20.3):
- RestKit/Core
- RestKit/Core (0.20.3):
- RestKit/CoreData
- RestKit/Network
- RestKit/ObjectMapping
- RestKit/CoreData (0.20.3)
- RestKit/Network (0.20.3):
- AFNetworking (~> 1.3.0)
- RestKit/ObjectMapping
- RestKit/Support
- SOCKit
- RestKit/ObjectMapping (0.20.3)
- RestKit/Search (0.20.3):
- RestKit/CoreData
- RestKit/Support (0.20.3):
- TransitionKit (= 1.1.1)
- RestKit/Testing (0.20.3)
- SOCKit (1.1)
- TransitionKit (1.1.1)

DEPENDENCIES:
- RestKit (~> 0.20.0)
- RestKit/Search (~> 0.20.0)
- RestKit/Testing (~> 0.20.0)

SPEC CHECKSUMS:
AFNetworking: 61fdd49e2ffe6380378df37b3b6e70630bb9dd66
RestKit: 1f181c180105a92f11ec4f6cd7de37625e516d83
SOCKit: 2f3bc4d07910de12dcc202815e07db68a3802581
TransitionKit: d0e3344aac92991395d4c2e72d9c5a8ceeb12910

COCOAPODS: 0.29.0

最佳答案

我通过更新 CocoaPods 解决了这个问题。

我。项目清理

  1. 在项目导航器中,选择您的项目
  2. 选择您的目标
  3. 删除构建阶段 > 将二进制文件与库链接中的所有 libPods*.a

二。更新 CocoaPods

  1. 启动终端并转到您的项目目录。
  2. 使用命令 pod install 更新 CocoaPods

关于ios - 错误: "The sandbox is not in sync with the Podfile.lock..." after installing RestKit with cocoapods,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21366549/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com