Swift: Xcode was unable to create a Swift view for the Facebook framework

I am trying to integrate facebook into my application using fast. I downloaded the SDK for Facebook in my application. The lecebook SDK is located in lens c. And for this, to connect obective c files to swift, I create the Bridging-Header.h file and import the FBSDKCoreKit / FBSDKCoreKit.h and FBSDKLoginKit / FBSDKLoginKit.h files.

but could not connect to it when opened. I get an error as follows:

enter image description here

In the build settings, I was given the following:

  • Object c. Top level console.
  • Framework Search Paths

but I did not connect to it. if anyone has any clues, that would be great.

+4
source share
1

Cmd + + shift + k, .

-2

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


All Articles