首页 > Web开发 > 详细

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

时间:2016-10-18 13:20:49      阅读:319      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!