在使用 cocoapods 安装 RestKit 后,我遇到了一个奇怪的问题。在使用 cocoapods 解决我的项目的 RestKit 依赖项并尝试构建它之后,我遇到了这个错误:
“The sandbox is not in sync with the Podfile.lock…” after installing RestKit with cocoapods
我试过跑步pod install,但没有改变。
pod install
以下是一些截图:
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 来解决这个问题。