yandexmobile / yandexmapkit-ios

Yandex Map Kit for iOS
Other
173 stars 30 forks source link

Failing to download static library from Yandex CDN when installing pod #188

Open asidden opened 8 years ago

asidden commented 8 years ago

I'm using cocoapods 0.39.0 and for me it fails always to install YandexMapKit pod:

-> Installing YandexMapKit (1.0.11)
 > Http download
   $ /usr/bin/curl -f -L -o /var/folders/cb/7nfnfsr12hs127gz1vvvr_3h0000gn/T/d20160725-93894-tc0tqq/file.zip
   http://download.cdn.yandex.net/mapkit/yandex-mapkit-ios-1.0.11.zip --create-dirs
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
    70  156M   70  109M    0     0  2278k      0  0:01:10  0:00:49  0:00:21 2438kcurl: (18) transfer closed with 47684153 bytes remaining to read

[!] Error installing YandexMapKit
[!] /usr/bin/curl -f -L -o /var/folders/cb/7nfnfsr12hs127gz1vvvr_3h0000gn/T/d20160725-93894-tc0tqq/file.zip http://download.cdn.yandex.net/mapkit/yandex-mapkit-ios-1.0.11.zip --create-dirs

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 70  156M   70  109M    0     0  2278k      0  0:01:10  0:00:49  0:00:21 2438kcurl: (18) transfer closed with 47684153 bytes remaining to read

is it something wrong with the CDN, that it makes curl to fail with 'transfer closed' ?

AndrewSad commented 8 years ago

hey @asidden, I just tried to install with cocoapods 1.0.1 and it worked, try to update yours