今天为新电脑配置cocaopods的时候,莫名奇妙就报了这个错误,The dependency 第三方框架
is not used in any concrete target,原来是升级到了最新版本的原因,pod里的内容必须明确指出所在APP的target,解决办法如下:
老版本:
platform :ios, ‘8.0‘
pod ‘AFNetworking‘
pod ‘SDWebImage‘
新版本:
platform :ios, ‘8.0‘
target "应用的target名称" do
pod ‘AFNetworking‘
pod ‘SDWebImage‘
end
哈哈哈,就是这样。。。。。。
网友评论