【发布时间】:2012-10-09 14:32:25
【问题描述】:
我正在使用 CocoaPods 安装 AFNetworking 库。这是我的简单 CocoaPods 文件:
platform :ios
pod 'FMDB'
pod 'AFNetworking'
我的 Pods 项目和我的主项目是 iOS 6 部署目标和基础 SDK。当我运行 pod install 时,出现以下错误:
AFNetworking not compatible with iOS 4.3
更新:
我将我的 Podfile 编辑为:
platform :ios, '6.0'
pod 'FMDB'
pod 'AFNetworking'
现在,当我运行 pod install 时,它会显示以下内容:
更新规范库`master'
Cocoapods 0.15.1 可用。
使用 AFNetworking (1.0) 使用 FMDB (2.0) 生成支持文件
但它从未将 AFNetworking pod 添加到 xCode 中的 pods 项目中。
【问题讨论】:
标签: iphone ios objective-c afnetworking cocoapods