gpt4 book ai didi

objective-c - 如何通过 CocoaPods 安装 Restkit?

转载 作者:可可西里 更新时间:2023-11-01 06:16:41 25 4
gpt4 key购买 nike

Restkit 添加到 Podfile 之后:

 platform :ios

dependency 'Facebook-iOS-SDK', '1.2'
dependency 'RestKit', '0.10.1'

然后运行:

 $ pod install
Updating spec repo `master'
Using Facebook-iOS-SDK (1.2)
Using SBJson (2.2.3)
Generating support files

未安装 RestKit。如何通过 CocoaPods 安装 RestKit

最佳答案

基于此pull request的信息,将 Podfile 更新为:

platform :ios

dependency 'Facebook-iOS-SDK', '1.2'
dependency 'RestKit', '0.10.1'
dependency 'RestKit/Network', '0.10.1'
dependency 'RestKit/ObjectMapping', '0.10.1'
dependency 'RestKit/ObjectMapping/CoreData', '0.10.1'
dependency 'RestKit/ObjectMapping/JSON', '0.10.1'
dependency 'RestKit/ObjectMapping/XML', '0.10.1'
dependency 'RestKit/UI', '0.10.1'

或通过以下方式更新到最新的 (0.6.2.rc2) cocoapods:

gem install cocoapods --pre

关于objective-c - 如何通过 CocoaPods 安装 Restkit?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10976646/

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