Failed to import bridge header FBSDKCoreKit / FBSDKCoreKit.h file not found

I am trying to add a Facebook login using Parse with swift and I am following the iOS developers guide. However, it points to a quick compiler error: The FBSDKCoreKit / FBSDKCoreKit.h header could not be imported and the problem was found in the Test section on Xcode. Please someone can help me fix this. Thank you very much.

+3


source to share


2 answers


I just solved this exact problem by actually copying the frameworks you want (in my case CoreKit, LoginKit and ShareKit) from the ~ / Documents / FacebookSDK folder to the project folder.

To do this, I just dragged the frameworks into the project folder on XCode, but I CHECKED the Copy items if needed option.



After that, everything worked in the first build.

I am using Facebook SDK 4.7 and XCode 7.1.

+1


source


I had the same problem. I checked the "Copy items if needed" option and built a successful one.



works for XCode 7.1, Facebook SDK 4.7.1

0


source







All Articles