Cannot build objective-c module 'FBSDKCoreKit'

I can not import FBSDKLoginKit into my project (I use cocoapods with fast)

Decision:

  • remove use_framework! from podfile
  • added path $ (PODS_ROOT) to user header search path
  • try to import the Bridging Header file (FBSDKCoreKit.h, FBSDKLoginKit.h, FBSDKShareKit.h)

Error display:

cannot import FBSDKLoginKit into my project

My subfile :

Subfile

+4
source share
2 answers

You should also add FBSDKCoreKit.Framework from Facebook.

Adding only FBSDKLoginKit will give you this error.

+1
source

Follow the steps below and your problem will be resolved:

  • "Pods.xcodeproj"
  • / , .
  • " " " " ""
  • , .

, !

-1

Source: https://habr.com/ru/post/1622512/


All Articles