I got below error after updating my Xcode to the latest version:
ld: '/Users/mimicreative/Documents/Kerja/Backup/FacebookSDK/FBSDKMessengerShareKit.framework/FBSDKMessengerShareKit(FBSDKMessengerApplicationStateManager.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. for architecture armv7
However I don't got this error on the earlier version of Xcode. And that error happened when I archive my project.
there is already an update for facebook where bitcode is enabled. check in cocoapods and you eill find it. its Version 4.5 i think
This is used for appthining. If you dont want to update the sdk you cam turn off bitcode in your project. Go to your target-> Settings and serch for bitcode. Than turn the option to NO. By default its activated
EDIT: Facebook Version is 4.6 as @Dharmesh Dhorajiya said :)
find enable bitcode
build settings and set to NO
:
or else upgrade your FacebookSDK
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With