Pod update命令在cocoapod 1.0.0中返回错误

时间:2016-06-08 06:56:31

标签: ios iphone git terminal cocoapods

我将我的cocoapod版本更新为1.0.0。在包含许多库的podfile中,我想使用 pod update 命令更新库。运行此命令后,我收到了这样的消息

Update all pods
Updating local specs repositories
Performing a deep fetch of the `master` specs repo to improve future performance
[!] /usr/bin/git fetch --unshallow

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

我的podfile内容是这样的

use_frameworks!

def myPods

    pod 'SDWebImage'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'MBProgressHUD'

end

target 'APP_DEV' do
    myPods
end

target 'APPTests' do
    myPods
end

target 'APPUITests' do
    myPods
end

如何解决这个问题?请帮帮我

0 个答案:

没有答案