No such module 'FBSDKCoreKit' XCODE 7.4

前端 未结 12 2000
北海茫月
北海茫月 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:18

    Looks like you also have to add to the Bridging-Header.h file:

    #import #import

    #import 
    

    The use of Bridging-Header.h is only needed when you use the Objective-C version of the framework files. However, the Swift tutorials on the Facebook site do leave out key steps for using the Swift-built framework files, specifically the AppDelegate adjustments after importing FBSDKCoreKit there.

提交回复
热议问题