pod 报错 The dependency `xxx` is not used in any concrete target liangtongzhuo 2017-12-14 175 阅读1分钟 低版本的cocoa pods在编写Podfile文件时这样写就可以了 platform :ios, '8.0' pod 'AFNetworking' 高版本的cocoa pods在编写Podfile文件必须这样写 platform :ios, '8.0' target 'targetName' do pod 'AFNetworking' end targetName:工程的名字 就是必须写版本,或者括起来不写