5

I am try to integrate facebook in my app using Swift. I have download the Facebook SDK in my app. the fecebook SDK is in Objective-C. And for that to connect Objective-C files in Swift I am creating an Bridging-Header.h file and import the FBSDKCoreKit/FBSDKCoreKit.h and FBSDKLoginKit/FBSDKLoginKit.h file .

But, could not connect to it when open it I get an error message as follows:

enter image description here

I was set the following in Build Settings:

  1. Objective-C bridging Header.
  2. Framework search paths

But I didn't connect to it.

If anyone has any clues, that would be great.

Chirag Kothiya
  • 955
  • 5
  • 12
  • 28
Pallavi Nikumbh
  • 298
  • 4
  • 19

1 Answers1

-2

Clean using Cmd+option+shift+k and then re-build.

Jitendra Singh
  • 2,103
  • 3
  • 17
  • 26