Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bitcode is disabled in Facebook-iOS-SDK 4.37

Tags:

bitcode

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.

like image 867
Narendar Singh Saini Avatar asked Oct 10 '18 07:10

Narendar Singh Saini


People also ask

Is Bitcode required iOS?

Often, the easier option is simply to turn bitcode off. This is likely the reason Apple hasn't yet mandated bitcode on all iOS apps. However, bitcode is mandatory for tvOS and watchOS apps.

Should I include Bitcode for iOS content?

For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.

What is the latest version of Facebook SDK for iOS?

The current version of the Facebook SDK for iOS is version 14.1. 0.


1 Answers

Finally, Facebook fixed the bug in 4.38

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

like image 127
Narendar Singh Saini Avatar answered Oct 04 '22 17:10

Narendar Singh Saini