【问题标题】:Cocoapods installation error - curl: (56) Recv failure: Connection reset by peerCocoapods 安装错误 - curl: (56) Recv failure: Connection reset by peer
【发布时间】:2015-12-17 10:00:21
【问题描述】:

我正在使用终端安装 cocoapods,仅在使用 Google Analytics 和 google sign (#pod 'Google/Analytics' pod 'Google/SignIn') 时出现错误

我的 Podfile:-

platform :ios, '7.0'

target 'ProgrammingCrew' do

pod 'AFNetworking', '~> 2.5.3'
pod 'TPKeyboardAvoiding'
pod 'TTTAttributedLabel'
pod 'MBProgressHUD'
pod 'TSMessages'
pod 'FBSDKLoginKit'
pod 'NewRelicAgent'
pod 'CocoaLumberjack'
pod 'Google/Analytics'
pod 'Google/SignIn'
pod 'RNBlurModalView', '~> 0.1.0'

end

错误:-

注意:- 当我从 pod 文件中删除 Google 登录和 Google 分析时,它运行良好。

OS 10.10.5
XCode 7.2

【问题讨论】:

  • 当您的互联网连接不佳时会出现此问题。尝试更好的互联网连接
  • 说得对,糟糕的互联网连接可能是造成这种情况的一个原因。

标签: ios curl google-analytics cocoapods


【解决方案1】:

出现网络故障时会抛出此错误。它可以在您的最后,也可以在保存特定源代码的地方。我遇到了同样的问题,几个小时后它就起作用了。不得不为此做任何改变。

也可能是链接根本不再工作的情况,在这种情况下,我们必须获得一个工作链接(带有其他版本的 Pod)。如果不存在此类链接,我们可能必须将此通知开发人员。

【讨论】:

  • 感谢您分享宝贵的意见。
猜你喜欢
  • 2012-07-15
  • 2019-06-11
  • 2014-12-20
  • 1970-01-01
  • 2020-06-06
  • 2021-09-06
  • 2023-01-20
  • 2021-05-11
  • 2019-09-06
相关资源
最近更新 更多