Search code examples
iosswiftfacebookios9bitcode

iOS 9 (Xcode 7) Facebook API/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAccessToken.o)' does not contain bitcode


I am trying to build the my app containing Facebook SDK with Xcode 7 in iOS 9.0. I am getting this error.

Thanks


Solution

  • Update your Facebook SDK version to 4.6

    The SDK supports various iOS 9 features including Bitcode. In addition, the SDK dialogs such as Login, Like, Share Dialogs automatically determine the best UI based on the device, including SFSafariViewController instead of Safari. Follow the our Preparing for iOS 9 guide.

    https://developers.facebook.com/docs/ios/downloads

    Facebook SDK 4.6 Download Link

    Also check this for upgrading to iOS 9 Facebook SDK https://developers.facebook.com/docs/ios/ios9


    If you getting another bitcode error from other SDK then you can disable bitcode from setting of Xcode target.

    For Bitcode issue you can check this question : New warnings in iOS 9

    If you have all SDK (Frameworks) with the bitcode enabled then you will not get the bitcode error. If you get that error then Disable it from settings.

    enter image description here