码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-05-21 01:18:26      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:

官网是这样给推荐的: 
在创建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 就都可以了。

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

标签:

原文地址:http://www.cnblogs.com/Rinpe/p/5513825.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!