Problem with CocoaPods Backendless installation iOS 9

Hi everyone,

I got a problem with the installation via Cocoapods since a while so I installed it on a manual way.
But I would like to know what’s going wrong since I am trying to set up new a new project.

Installation always fails after a long download with :

Analyzing dependencies

Downloading dependencies

Installing Backendless-ios-SDK (3.0.8)

[!] Error installing Backendless-ios-SDK

[!] /usr/bin/git clone https://github.com/Backendless/ios-SDK.git /var/folders/m7/z8gq_hn166s537clw_2hxfxw0000gn/T/d20160218-2446-1dnut88 --branch 3.0.8

Cloning into ‘/var/folders/m7/z8gq_hn166s537clw_2hxfxw0000gn/T/d20160218-2446-1dnut88’…

error: RPC failed; result=56, HTTP code = 200

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

It works with others pods.

Thanks

Hi Vincent,

It appears there is a problem with loading the file from github. Just to double-check, what did you put into your podfile?

Regards,
Mark

Hi Mark,

Uncomment this line to define a global platform for your project

platform :ios, ‘9.0’

Uncomment this line if you’re using Swift

use_frameworks!

target ‘Project’ do

pod ‘Backendless-ios-SDK’

end

same file, with another pod works fine. I also raised up the buffer. No change

Hi Vincent,

I just created the test project with CocoaPods.
I used your Podfile:
http://support.backendless.com/public/attachments/cb1410f5e0f1fdab8b33dc8f06ba508f.png</img>

and here is the result:
http://support.backendless.com/public/attachments/aa1ab6f9c8d5f12a549bfe586f297024.png</img>

Maybe, you need to update your pod app?

Regards,
Slava

Please see this thread - https://github.com/Backendless/ios-SDK/issues/6

Hi Slava,

Thanks for your answer. What do you mean by update my pod app?
That’s really weird because if I keep an eye on the network traffic I can see the pod is downloading until its final size.

Just because I am curious, and even if I know it depends on the bandwidth, but how long does it take for you to install the pod?

Because a similar problem was with at least one our customer, and pod updating was helpful for him - https://github.com/Backendless/ios-SDK/issues/6

Thank you. I am trying right now but it is a bit long.

I’ll keep you posted.

Slava,

Hi tried exactly what was described in the link you provided.
But unfortunately it still doesn’t work.

I start to think maybe it is to the file size and my internet connection.
Sometimes internet connections aren’t very stable here in China. And it works perfectly with other pods which are lighter.

I’ll keep trying and see what happens, but it takes me an hour each time I try… :frowning:

Vincent, you can get Backendless SDK from github https://github.com/Backendless/ios-SDK or from our site https://backendless.com/downloads/ and add it manually in your project: https://github.com/Backendless/ios-SDK/blob/master/SDK/getting-started.pdf

Regards,
Slava

Ok then.

I am already using it actually. Just wanted to figure out why it didn’t work for me and if I was alone in this case.

Thanks anyway.

git config --global ssh.postBuffer 523288000
git config --global http.postBuffer 523288000
Fixes this issue