No such module 'FBSDKCoreKit' XCODE 7.4

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

    if you are using pods then just delete all pod file and related folders and start from the first step

    init pod.

    then open that pod file and add following framework   

    pod 'FBSDKCoreKit'
    pod 'FBSDKShareKit'
    pod 'FBSDKLoginKit'
    

    then pod install

    and import it to the swift file and enjoy :)

    and if you are directly add folder to your project then make sure that 'copy if needed' is marked

提交回复
热议问题