更新了 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 的格式改了。新的格式如下:
此外,使用
pod search **
命令,可以查看使用的第三方库的版本号等信息。
参考: