在ios中安装OpenWebRTC时出错

时间:2016-06-11 08:37:32

标签: ios cocoapods

嗨,我是ios的新手,在我试图安装“OpenWebRTC”pod文件,如下面的合成,当我尝试安装它们时,我得到以下错误请帮助我

platform :ios, '9.0'
target 'videoCallApp' do
pod 'OpenWebRTC', '~> 0.1'
pod 'OpenWebRTC-SDK',  :git => 'https://github.com/EricssonResearch/openwebrtc-ios-sdk.git'
end

错误: -

Analyzing dependencies
Pre-downloading: `OpenWebRTC-SDK` from `https://github.com/EricssonResearch/openwebrtc-ios-sdk.git`
Downloading dependencies
Installing OpenWebRTC (0.3.1)

[!] Error installing OpenWebRTC
[!] /usr/bin/curl -f -L -o /var/folders/7y/xc2v__vx44n0t1d875wv3zbh0000gn/T/d20160611-17948-zbondp/file.zip http://static.verkstad.net/OpenWebRTC_0.3.1.zip --create-dirs --netrc

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (52) Empty reply from server

1 个答案:

答案 0 :(得分:0)

我遇到了这个问题,并使用here

中的以下建议对其进行了排序
  

尝试运行rm -rf Pods / Podfile.lock,然后重新运行pod install。

一旦我这样做,它就完美无缺。希望这会有所帮助。

相关问题