CocoaPods不安装iOS7和Xcode 5的Pods [英] CocoaPods doesn't install Pods for iOS7 and Xcode 5
本文介绍了CocoaPods不安装iOS7和Xcode 5的Pods的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用我的工作的开发人员帐户,我使用Xcode 5和iOS7创建了一个新的iOS项目。安装AFNetworking或RestKit窗格时。我收到此错误消息。
With my work's developer account I have created a new iOS Project with Xcode 5 and iOS7. When installing "AFNetworking" or "RestKit" pods. I get this error message.
[!] The platform of the target `Pods` (iOS 4.3) is not compatible with `AFNetworking
(1.3.1)` which has a minimum requirement of iOS 5.0 - OS X 10.7.
我一直在寻找解决方法,没有出现。
I have been looking for ways to solve this and nothing has came up. Anyone have a solution for this?
推荐答案
确保您的Pod文件如下所示:
Make sure your Podfile looks like this:
platform :ios, '6.0'
pod 'AFNetworking'
# other pods
这是因为 AFNetworking
需要iOS 5 +。
That's because AFNetworking
requires iOS 5+.
这篇关于CocoaPods不安装iOS7和Xcode 5的Pods的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文