Facebook iOS8 SDK build module error for FBSDKCoreKit

后端 未结 16 1616
生来不讨喜
生来不讨喜 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:02

    From Chris Pan (Facebook Team): https://developers.facebook.com/bugs/362995353893156/

    The 4.0.1 release added module maps (which should have obviated the need for bridging headers) but it looks like that may have caused some other compatibility issues. We're working on a proper fix but another workaround is to remove the module maps manually from each of the FBSDK*Kit.framework bundles; e.g., rm -r ~/Documents/FacebookSDK/FBSDKCoreKit.framework/Modules/ (and repeat for FBSDKLoginKit and FBSDKShareKit)

    As far as I know, we have 2 options to deal with this problem:

    1. Remove all module maps as Chris said.
    2. Add a temporary (unofficial) missing module map file in Bolts.framework folder (in FacebookSDK folder). You should check if this folder is missing or not.

提交回复
热议问题