更新了 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 **" 命令,可以查看使用的第三方库的版本号等信息。
参考:
http://blog.csdn.net/sjl_leaf/article/details/50506057
https://segmentfault.com/q/1010000000716129
时间: 2024-11-08 23:48:53