初次安装使用cocoapods的一些问题

来源:互联网 发布:技术支持 盘古网络 编辑:程序博客网 时间:2024/05/19 13:45

对于第一次使用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 



持续更新。。。
0 0
原创粉丝点击