最新消息:VPS服务器又从fzhost.net换回Linode了,主题仍用朋友推荐的大前端D8

【未解决】Cocoapods去pod install版本10.2.5的ArcGIS-Runtime-SDK-iOS出错:curl 56 Recv failure: Connection reset by peer

Cocoapods crifan 656浏览 0评论

折腾:

【未解决】XCode中把ArcGIS.framework换成用Cocoapods管理

期间,找到之前的同样的库:

ArcGIS.framework

的版本,貌似是10.2.5

所以换成:

pod ‘ArcGIS-Runtime-SDK-iOS’, ‘10.2.5’

结果:

可以找到,但是下载失败:

➜  inquzhou_ios git:(master) ✗ pod install

Analyzing dependencies

Downloading dependencies

Using AFNetworking (2.6.3)

Installing ArcGIS-Runtime-SDK-iOS (10.2.5)

[!] Error installing ArcGIS-Runtime-SDK-iOS

[!] /usr/bin/curl -f -L -o /var/folders/46/2hjxz38n22n3ypp_5f6_p__00000gn/T/d20171212-22447-13qjp5r/file.zip http://esri.box.com/shared/static/aa3e5u04sakyshphc9ooqizvyse7b8iv.zip –create-dirs –netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 –:–:–  0:00:01 –:–:–     0

curl: (56) Recv failure: Connection reset by peer

全局翻墙也不行。

换用其他服务器翻墙,还是不能下载。

点击:

http://esri.box.com/shared/static/aa3e5u04sakyshphc9ooqizvyse7b8iv.zip

貌似可以下载的:

https://public.boxcloud.com/d/1/ohPwnnkdlyIHHmKslAfUAR7eskI8vB3LlN4YSe5Rr77ZqVKEI5iKmYph8_kFhFXvI1DoL2z13YpCuvRv-fVjDgdv3a7TQZ9Hk05KVXW4dvpEKo5q6hNv4HbBsMk1GHH4gxkx73PdVqrOul6ocFoo_b5TDsIIRPnQU9Puxnq_JQFbJM1UmeYccgjSU3Z-1J0gb0qOmRX3Ra9IVzF_9zs5vuyAUZBhpDq-l4zEMS1-cttqH7snjINlo8useNPak7aEw9u6MCCFadqXC_oSExWVTfX2PMbejcY1kg5dig_s9XL1kUEL1-RLNmTz-qij4UBqGWYaxKc9_9XcyiKo6AXVnV1_x86zetUfQDS3QxYnkh7Yw6zLHiLbhtp3vU0qcpMNL4kg8BrXgr2LXvNlD3y_7YLh-09FR3DymBAauR5XOoQjJsVnuy_rhlptdfmNvovK-8P07zIiI-X2uP3pQUatw3pdWH-DfKq1fQP_YThjwgLpWmM1dWC6TFYyDr2RwbMze1tURHKeYk5-3Rnoo2m3t_3t3Ds2HQX5l0CcA0dH8dwVBBkU3KO1LRu2hTWOKqae5zpIo3YTnraLjMv94p65oj5eD_33_ZiErRjUzS6XP4NBpm7dABIhthzaZZrBtPvc_PqvmZqg1pva9I6XdoL2vuZiDYplwzC7A-QoHI3x2SunWEHhTBJ7NlO2zaaozy_BCfkjTqF8yI2qgiWWw4Mz8Sp7ZjFzLJgdAGTfoDbTEv1G1eKdsDAnPUdQ5iJws6ueKXlu5yfnHj2bHx-ngqe0hBsgsvrziYjL9Wii0zc-fxRENHUYQt7loIY1zRkL_Vs8y3qSQuqkujerLTceqbU1UOdFN-ZoqClpFoxAma1K0ajF4treYAcMsBtqQdFovdn6r-EFuDV6ozdLAZEJtyrDyOwrK9w2mhgm5K_LkoirSIlNHE1ZY4K2AUpstas2cx_eoFHP-LTdTRgIE25xkrqVrg2W9c2ydr35dFjlezfbGkkj6AgUOUqnRD8WgbM5jJBhYLknp8bwsTKZGoEXEe13YVF6SATSfzwqNWlsuOk0AZ5JXwyfbzXDbG_X9_QrSdMn97ilKeX724u2lUvEk5fQfBANrQG6gtrjdPVJyAPKQmoDQSUOMZbMI5X15CiQ03Xthlr7yTlOUGcwovNZVqUY60P6i0_cVOoNUmdPlDrG_Ij7ku100RawJ3uvFVnTEXZc0dYYavXVL_cQnDPf2RCa0y7LqMjQEhM76D3VB74_G1XsMpoap8c7rjpLsZWB4F0F9b4lAN-P/download

-》

得到60多MB的v10.2.5-iOS.zip

解压后得到200多MB的:ArcGIS.framework

直接改个名字

file.zip

放到对应路径:

为:

再去试试

结果发现不存在该路径,且每次都是随机的路径:

/var/folders/46/2hjxz38n22n3ypp_5f6_p__00000gn/T/d20171212-22620-1deifp6/file.zip

/var/folders/46/2hjxz38n22n3ypp_5f6_p__00000gn/T/d20171212-22666-1ld13ps/file.zip

所以还是不行。

pod install curl 56 Recv failure Connection reset by peer

Why curl: (56) Recv failure: Connection reset by peer? · Issue #1016 · curl/curl

关闭翻墙的ss,结果:问题依旧。

“Recv failure: Connection reset by peer” error when using curl command · Issue #1095 · spray/spray

Cannot connect to service of it’s own from inside pod on kubernetes 1.6 · Issue #44187 · kubernetes/kubernetes

Installation for ArcGIS Runtime SDK for iOS with CocoaPods | Support Services Blog

同样问题,没人解决。

curl: (56) Recv failure: Connection reset by peer 大家怎么解决这个问题的呢? – SegmentFault

CURL ERROR: Recv failure: Connection reset by peer – PHP Curl – Stack Overflow

rest – curl: (56) Recv failure: Connection was reset – Stack Overflow

重新开启iTerm的窗口,问题依旧。

换成:10.2.4

pod ‘ArcGIS-Runtime-SDK-iOS’, ‘10.2.4’

试试:

貌似可以,但是要等半天。

结果还是:

➜  inquzhou_ios git:(master) ✗ pod install

Analyzing dependencies

Downloading dependencies

Using AFNetworking (2.6.3)

Installing ArcGIS-Runtime-SDK-iOS (10.2.4)

[!] Error installing ArcGIS-Runtime-SDK-iOS

[!] /usr/bin/curl -f -L -o /var/folders/46/2hjxz38n22n3ypp_5f6_p__00000gn/T/d20171212-22976-1fliasf/file.zip https://esri.box.com/shared/static/lfmcfczujdntffv9pg9l.zip –create-dirs –netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 –:–:– –:–:– –:–:–     0

  0     0    0     0    0     0      0      0 –:–:–  0:01:18 –:–:–     0curl: (7) Failed to connect to esri.app.box.com port 443: Operation timed out

先去看看还有其他哪些版本:

ArcGIS-Runtime-SDK-iOS version

ArcGIS Runtime SDK for iOS | ArcGIS for Developers

10.2.4 release of ArcGIS Runtime SDK for iOS and OS X | ArcGIS Blog

更多其他版本,结果还是要注册才能下载和看到:

Sign In | ArcGIS for Developers

CocoaPods.org

http://cocoapods.org/?q=ArcGIS

-》

cocoapods.org/?q=on%3Aios%20ArcGIS

只能看到最新的

  • 100.1.1
  • 100.1.0

更早的看不到。

ArcGIS Runtime SDK for iOS: Introduction

ArcGIS Runtime SDK for iOS | ArcGIS for Developers

-》

10.2.5 is the previous release of the ArcGIS Runtime SDK for iOS.

Choosing the right version | ArcGIS for Developers

Release notes for 100.1.1—ArcGIS Runtime SDK for iOS | ArcGIS for Developers

所以版本好像就只是:

  • 100.1.1
  • 100.1.0
  • 10.2.5
  • 10.2.4
  • 10.2
  • 10.1.1

arcgis curl 56 Recv failure Connection reset by peer

移动开发-iOS-CSDN下载

->

[免费]arcgis-ios-sdk-v10.2.5(part2)-CSDN下载

arcgis ios curl  Recv failure Connection reset by peer

换个WI-FI网络

问题依旧。

再去重启Mac试试,问题依旧。

ArcGIS-Runtime-SDK-iOS cocoapods

ArcGIS-Runtime-SDK-iOS on CocoaPods.org

Specs/ArcGIS-Runtime-SDK-iOS.podspec.json at master · CocoaPods/Specs

突然想起来,去试试:

pod update

或许是因为pod的仓库不是最新导致的?

如果是,那就去更新。

结果出错:

【未解决】升级CocoaPods:CocoaPods is available To update use

【总结】

所以,考虑到Cocoapods下载和安装其他库都没问题,但是对于arcgis却无法下载,就懒得继续花时间去找根本原因了。所以放弃。

目前猜测还是ArcGIS自己放在Cocoapods中的zip文件的下载权限或者哪里有问题,导致无法通过pod install去下载。

但是单独点击zip链接地址,却还是可以下载的。

另外别的也有几个人遇到同样问题,所以猜测是arcgis的问题。

转载请注明:在路上 » 【未解决】Cocoapods去pod install版本10.2.5的ArcGIS-Runtime-SDK-iOS出错:curl 56 Recv failure: Connection reset by peer

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
18 queries in 0.270 seconds, using 10.33MB memory