8

I have updated Facebook SDK 4.37, after updating the SDK I started seeing one compile time error to disable bitcode. I can't disable bitcode because I have watch kit app which really need to have bitcode enable. If anyone faced this issue and solution, please let me know.

The error that I am seeing is here:

FBSDKShareKit.framework/FBSDKShareKit(FBSDKLikeBoxView.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file FBSDKShareKit.framework/FBSDKShareKit' for architecture arm64

I also posted the same thing on Developers page on Facebook. They are saying this is known and trying to fix.

Narendar Singh Saini
  • 3,555
  • 1
  • 17
  • 17
  • 1
    I found out the issue was reported to Facebook 10 days ago and it has remained broken. This is unbelievable: https://developers.facebook.com/support/bugs/189257625300905/?disable_redirect=0 – Houman Oct 12 '18 at 14:40
  • I saw your comment. Is there any other way to send a message to the Facebook Developers Team apart from Support page where you already posted? – Narendar Singh Saini Oct 12 '18 at 15:37
  • I am also unable to integrate this SDK until this issue is resolved. As of Oct 15, I don't see any updates from FB so far. – Silicon Fox Oct 15 '18 at 08:28
  • I already rolled back too. `pod 'Facebook-iOS-SDK', '4.36'` There is no point waiting. – Houman Oct 16 '18 at 08:58

2 Answers2

1

Finally, Facebook fixed the bug in 4.38

https://developers.facebook.com/docs/ios/change-log-4x/

Narendar Singh Saini
  • 3,555
  • 1
  • 17
  • 17
0

I finally ended up integrating the facebook sdk without any bitcode issues. I went back and used 4.36 instead of 4.37. The download link I used is here. (I don't use cocoapods). Hopefully fb will eventually get around to releasing a stable version. But until then ill stick to 4.36.

Silicon Fox
  • 96
  • 1
  • 5
  • Yes, 4.36 do not have any issue. I will wait for a few days for my release, if something fixed up by Facebook Team then I'll use it otherwise I will be roll back to 4.36 – Narendar Singh Saini Oct 15 '18 at 12:20