It returns 'FBSDKCoreKitImport.h' file not found compile error after update of FBSDK 11.2.0 in XCode. How can I fix this error?
It returns 'FBSDKCoreKitImport.h' file not found compile error after update of FBSDK 11.2.0 in XCode. How can I fix this error?
@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.
If you're using CocoaPods:
Delete the Podfile.lock file, and update the podfile with current stable versions of FBSDKCoreKit and do pod install again.