Facebook iOS8 SDK build module error for FBSDKCoreKit

后端 未结 16 1622
生来不讨喜
生来不讨喜 2020-11-30 21:33

I am trying to add the Facebook SDK to my iOS 8 Objective-C app in Xcode. I did the install according to the FB-dev instructions. However, I get a \"Could not build

16条回答
  •  借酒劲吻你
    2020-11-30 22:15

    TL;DR Remove your Bolts.framework reference in your project.

    None of these or any of the other answers worked for me (in my case). For my project we were switching from an older Facebook sdk and we had a Bolts.framework.

    Reading the documentation

    The SDK automatically loads its framework and resource dependencies.

    As such I think there is a collision going on. There was the Bolts.framework I had from before and then the new one that came when I downloaded the new FacebookSDK bundle (4.7 in this case).

    Removing my Bolts.framework fixes the problem (be sure to clean before rebuilding).

提交回复
热议问题