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

官网是这样给推荐的: 
在创建Podfile的时候,用这种格式使用,

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
  pod 'AFNetworking', '~> 2.6'
  pod 'ORStackView', '~> 3.0'
  pod 'SwiftyJSON', '~> 2.3'
end

里面的 MyApp 记得替换为自己攻城里面的target。这样就基本OK了,执行pod install / pod update 就都可以了。

posted @ 2016-05-21 00:12  Rinpe  阅读(170)  评论(0编辑  收藏  举报