Facebook SDK build failed

Hi there,

I added the latest FacebookSDK for Unity for my project. It was built success yesterday, today I have no changes on that project but UCB got failed. It happened on my two difference projects with separate Unity Editor version.

You can see that error in my attachment!
Does anyone get this issue?

I’m seeing the same issue, comparing before and after build logs, it is downloading an updated version of FBSDK

7th Nov
[Unity] Setup completed
[Unity] Downloading dependencies
[Unity] Installing Bolts (1.9.0)
[Unity] Installing FBSDKCoreKit (5.8.0)
[Unity] Installing FBSDKLoginKit (5.8.0)
[Unity] Installing FBSDKShareKit (5.8.0)

8th Nov
[Unity] Setup completed
[Unity] Downloading dependencies
[Unity] Installing Bolts (1.9.0)
[Unity] Installing FBSDKCoreKit (5.10.0)
[Unity] Installing FBSDKLoginKit (5.10.0)
[Unity] Installing FBSDKShareKit (5.9.0)

I’m trying out a workaround fix reported here

on Assets/FacebookSDK/Plugins/Editor/Dependencies.xml

1 Like

Same issue here. Worked earlier this week, but failed today with the same error messages you’re having related to Facebook SDK.

I’m also seeing this issue, with Firebase as well as Facebook SDK. My guess is that perhaps UCB is not refreshing or downloading cocoapods right now?

update: this was the Facebook SDK in my case too, and the dirty-rectangle fix worked for me.

We had the same issue, dirty-rectangle’s solution worked!
Go to Assets/FacebookSDK/Plugins/Editor/Dependencies.xml and set every FBSDK to “=5.8”

<iosPod name="FBSDKCoreKit" version="= 5.8" />
<iosPod name="FBSDKLoginKit" version="= 5.8" />
<iosPod name="FBSDKShareKit" version="= 5.8" />
2 Likes

It works,
Thank you.

Same problem here. On the other hand, it fails only in UCB, localy the project build fine even with the latest version of FB SDK 5.14.0

Anybody was able to Build Facebook on Unity 2019.3 or 2019.4 for iOS. I tried every new release since Unity 2019.3 release and I still wasn’t able to compile it for iOS.

1 Like