No such module 'FBSDKCoreKit' XCODE 7.4

前端 未结 12 1998
北海茫月
北海茫月 2020-12-11 03:54

I am trying to add the Facebook login feature using FBSDKCoreKit and FBSDKLogin. When I try to import these two framework to my AppDelegate

12条回答
  •  佛祖请我去吃肉
    2020-12-11 04:34

    I resolved No such module 'FrameworkName' issue with following steps:

    1) Create a group, call it Framework (optional, best practice)

    2) Drag desired SDK(s) from Original SDK path to Framework, in your case FBSDKCoreKit and FBSDKLoginKit

    3) When the dialog pops 'Choose options for adding these files:', choose following:

    options for adding these files

    Additional step for Facebook SDK version 4.0:

    4) Select the target in the project editor and click Build Settings, change Framework Search Paths to: ~/Documents/FacebookSDKDirectoryName

提交回复
热议问题