标签:
-------------报错----------
1、
解决办法:
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,需要花费比较多时间。
标签:
原文地址:http://www.cnblogs.com/goodheart/p/4215641.html