It returns 'FBSDKCoreKitImport.h' file not found
compile error after update of FBSDK 11.2.0 in XCode. How can I fix this error?
Asked
Active
Viewed 1,743 times
5

isuru
- 3,385
- 4
- 27
- 62
-
Have u found the solution ? – Nizzam Oct 01 '21 at 14:19
-
@Nizzam Yes Facebook now relese the next version 11.2.1 – isuru Oct 04 '21 at 04:56
4 Answers
0
temporary solution:
podfile
pod 'FBSDKCoreKit', '~> 11.1.0'
pod 'FBSDKShareKit', '~> 11.1.0'
pod 'FBSDKLoginKit', '~> 11.1.0'
and make pod update in terminal

Eugene
- 221
- 3
- 6
0
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.

100grams
- 3,502
- 3
- 30
- 27
-1
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.

saurabh
- 6,687
- 7
- 42
- 63
-
the current stable versions of the FB SDK introduced this issue, so updating does not help – Troy Sep 12 '21 at 08:02