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

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!

  

posted @ 2016-10-18 11:25  MaricoSun  阅读(224)  评论(0编辑  收藏  举报