【iOS】更新 CocoaPods 后 Podfile 报错

更新了 CocoaPods 后,再执行 "pod install" 时报了如下错误:

[!] The dependency `AFOnoResponseSerializer` is not used in any concrete target.
The dependency `SDWebImage` is not used in any concrete target.
The dependency `SSKeychain` is not used in any concrete target.
The dependency `ReactiveCocoa` is not used in any concrete target.
The dependency `GPUImage` is not used in any concrete target.
The dependency `MBProgressHUD` is not used in any concrete target.

如图所示:

 

原因是 Podfile 的格式改了。新的格式如下:

官网地址:https://cocoapods.org/

 

此外,使用

pod search **

命令,可以查看使用的第三方库的版本号等信息。

 

参考:

http://blog.csdn.net/sjl_leaf/article/details/50506057

https://segmentfault.com/q/1010000000716129

posted @ 2016-05-29 16:07  WriteOnRead  阅读(355)  评论(0编辑  收藏  举报