美文网首页
The dependency `XX` is not used

The dependency `XX` is not used

作者: iManuQiao | 来源:发表于2016-06-21 21:04 被阅读107次

有时候我们拿来了别人的示例工程,需要手动更新一下pods,但是报错

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

解决方法如下:

在Podfile末尾加上target '工程名'。

不知道是不是语法有变化,很多以前的工程都不会在结尾加上工程名。试试加上工程名是否能解决这个错误。

相关文章

网友评论

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

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