The dependency `***` is not used in any concrete target.

来源:互联网 发布:淘宝买家秀百度云 编辑:程序博客网 时间:2024/06/05 14:50

cocoaPod升级之后到最新版本,pod里的内容必须明确指出所用第三方库的target,否则会出现The dependency `` is not used in any concrete target这样的错误。

出现这样的错误,在创建Podfile的时候,使用下面的格式就可以避免了

platform :ios, '7.0'
target "CopyDes" do
pod 'CorePlot', '2.1'
end

CopyDes为你自己的项目名


这样之后再pod install  一切就OK啦


看下图就知道了  我这是这么修改过来的




0 0