码迷,mamicode.com
首页 > Web开发 > 详细

CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target

时间:2016-10-18 13:23:48      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

1 [!] The dependency `AsyncDisplayKit` is not used in any concrete target.
2 The dependency `YYKit` is not used in any concrete target.

升级pods后更新出现这样的问题。。。?

查看下pods的版本:

pod --version

1.0.1

修改的方法为:

Podfile内容更改:

platform :ios, ‘7.0‘
target "你的工程的名" do
pod ‘AsyncDisplayKit‘
pod ‘YYKit‘
pod ‘MMPopupView‘
pod ‘AFNetworking‘, ‘~> 3.0‘    #网络请求
pod ‘DZNEmptyDataSet‘
end

这样后再:

pod install

  ok!

  

CocoaPods报错:The dependency `AFNetworking ` is not used in any concrete target

标签:

原文地址:http://www.cnblogs.com/caicaige/p/5972629.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!