Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to update FBSDKCoreKit POD iOS

Tags:

ios

facebook

I am getting the following error when I try to do pod update. once it failed, I am not even able to do pod install anymore.

Installing FBSDKCoreKit (4.36.0)

[!] Error installing FBSDKCoreKit [!] /usr/bin/git clone https://github.com/facebook/facebook-ios-sdk.git /var/folders/tq/jky5s5j1589c5nqhs3n7j3d00000gn/T/d20180831-29436-tmqja3 --template= --single-branch --depth 1 --branch sdk-version-4.36.0

Cloning into '/var/folders/tq/jky5s5j1589c5nqhs3n7j3d00000gn/T/d20180831-29436-tmqja3'... warning: Could not find remote branch sdk-version-4.36.0 to clone. fatal: Remote branch sdk-version-4.36.0 not found in upstream origin

like image 282
A B Vijay Kumar Avatar asked Aug 31 '18 02:08

A B Vijay Kumar


2 Answers

According to the change log, version 4.36.0 was released yesterday (30th August). It looks like they've forgotten to create a release tag for it yet in their Github repository hosting the Facebook iOS SDK.

In the meantime, you can set your pod to:

pod 'FBSDKCoreKit', '4.35'
pod 'FBSDKLoginKit', '4.35'
pod 'FBSDKShareKit', '4.35'

then pod update.

like image 100
BuntagonalPrism Avatar answered Nov 18 '22 08:11

BuntagonalPrism


As per Facebook Developer Team, This issue has been resolved in:

https://github.com/facebook/facebook-ios-sdk/releases/tag/sdk-version-4.36.0 .

Please update your pods to the latest version and try again.

like image 2
Ankit Kumar Gupta Avatar answered Nov 18 '22 07:11

Ankit Kumar Gupta