今天新机装cocopods时,等安装完毕发觉出现
[!] The dependency AFNetworking (~> 3.1.0)
is not used in any concrete target.这个警告
参考 http://www.cnblogs.com/gongyuhonglou/p/5803144.html 解决的方法。
platform :ios, '8.0'
#use_frameworks!个别需要用到它,比如reactiveCocoa
target 'DateDemo' do
pod 'AFNetworking', '~> 2.6'
end
DateDemo 替换成自己的工程Target
附上CocoaPods安装教程一例
很全的,源于简书my_杨哥的教程