'FBSDKCoreKitImport.h' file not found after update of FBSDK 11.2.0

Viewed 1350

It returns 'FBSDKCoreKitImport.h' file not found compile error after update of FBSDK 11.2.0 in XCode. How can I fix this error?enter image description here

4 Answers

@sasquach suggestion didn't work for me. There is this relevant GitHub issue on Facebook's SDK repo that you can keep an eye on.

Update 23-9-21: Version 11.2.1 seems to fixes the issue.

temporary solution:

podfile

pod 'FBSDKCoreKit', '~> 11.1.0'
pod 'FBSDKShareKit', '~> 11.1.0'
pod 'FBSDKLoginKit', '~> 11.1.0'

and make pod update in terminal

Got this error when building in Xcode after having updated FB iOS SDK to version 12.1.0 using pod update.

Replace #import FBSDKLoginKit with #import <FBSDKLoginKit/FBSDKLoginKit.h>, then Xcode > Product > Clean Build Folder and rebuild the project.

Related