对于第一次使用cocoapods的童鞋来说,安装个pod可能会遇到这些问题:
1、安装淘宝镜像的时候的问题:
Error fetching http://ruby.taobao.org/: bad response Not Found 404 (http://r
解决:http 改成 https
2、Podfile文件的配置问题:
[!] Unable to satisfy the following requirements:
- `Masonry` required by `Podfile`
Specs satisfying the `Masonry` dependency were found, but they required a higher minimum deployment target
解决:podfile platform :ios,’8.0’ 版本号不能少
3、安装好pod之后使用的问题:
cocoapods 导入的第三方库,import“”时没有提示
解决:target - build setting - search paths - user header search 添加:$(PODS_ROOT) 选择 recursive
持续更新。。。