-------------报错----------
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,需要花费比较多时间。
时间: 2024-10-06 10:19:38