首页 > 其他 > 详细

使用cocoapods碰到的难题

时间:2015-01-10 22:19:08      阅读:338      评论:0      收藏:0      [点我收藏+]

 

 

-------------报错----------

1、

git clone error: RPC failed; result=56, HTTP code = 200

解决办法:

git config --global http.postBuffer 524288000(尽量大)

http.postBuffer

Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system. For requests larger than this buffer size, HTTP/1.1 and Transfer-Encoding: chunked is used to avoid creating a massive pack file locally. Default is 1 MiB, which is sufficient for most requests.

2、

$ pod install
Analyzing dependencies
[!] Unable to find a specification for `AFNetworking (~> 2.0)`

解决方法:没有进行 pod setup 吧,~/.cocoapods 里面是空的,没有办法寻找到相关的资源。
或者是 pod setup 失败了 需要 rm -rf ~/.cocoapods 删除重新 setup 一下,完毕之后这个文件夹大概有 100M,需要花费比较多时间。

使用cocoapods碰到的难题

原文:http://www.cnblogs.com/goodheart/p/4215641.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!