四十八 使用cocoapods 过程中遇到的问题;

1,使用cocoapods首先检查ruby环境,其次替换镜像文件,安装pods,

此处参见

https://www.jianshu.com/p/9e4e36ba8574

2,其次遇到的问题说下,网络问题,网络不好下载不下来的,我总共下载下来pods是1.5G

报错是:

[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress

Cloning into 'master'...
remote: Counting objects: 2055828, done.        
remote: Compressing objects: 100% (23085/23085), done.        
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: early EOF

fatal: index-pack failed

3,就是在下载三方库之前最好看看对应的数据

遇到的错误是

The platform of the target `podTest` (iOS 9.0) is not compatible with `Yoga (1.8.0)`, which does not support `ios`.

Yoga(1.8.0)不支持iOS系统,改成支持的版本就好了;





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值