在安装带有可可足的RestKit之后

在安装带有可可足的RestKit之后

本文介绍了错误:“沙箱与Podfile.lock不同步...”在安装带有可可足的RestKit之后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've encounter an strange issue after installing RestKit with cocoapods.after resolving RestKit dependency for my project with cocoapods and trying to build it, I face this error:

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

I tried running pod install, but no change.

以下是一些镜头:

Here are some shots:

  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来解决此问题。

I was able to fix that by updating CocoaPods.


  1. 在项目导航器中,选择项目

  2. 选择目标

  3. 构建阶段>与库链接二进制文件中删除所有libPods * .a

  1. In the project navigator, select your project
  2. Select your target
  3. Remove all libPods*.a in Build Phases > Link Binary With Libraries



II。更新CocoaPods



II. Update CocoaPods


  1. 启动终端并转到您的项目目录。

  2. 使用命令 pod安装

  1. Launch Terminal and go to your project directory.
  2. Update CocoaPods using the command pod install

这篇关于错误:“沙箱与Podfile.lock不同步...”在安装带有可可足的RestKit之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 17:59