美文网首页iOS DeveloperiOS 开发
The dependency `` is not used in

The dependency `` is not used in

作者: clover_jmy | 来源:发表于2016-08-24 11:59 被阅读48次

source 'https://github.com/CocoaPods/Specs.git

pod 'DXPopover'

从Github上down的项目的podfile,pod install时出现“The dependency `DXPopover` is not used in any concrete target.”这样的错误。

这是pod版本更新之后的变化,podfile里必须明确指出使用第三方库的target,否则就会出现如题错误。

修改podfile如下:

source 'https://github.com/CocoaPods/Specs.git'

target "GitFeed" do

pod 'DXPopover'

end

然后pod install,这样问题就解决了。

相关文章

网友评论

    本文标题:The dependency `` is not used in

    本文链接:https://www.haomeiwen.com/subject/raznsttx.html