Lê Khánh Vinh
Lê Khánh Vinh

Reputation: 2611

#import <FacebookSDK/FacebookSDK.h> not found IOS objective C

seem a bit old question but I have try some solution but did not work. I doubt that is because old Facebook frame work is not working anymore. I have a Objective-C project that use FacebookSDK. I have copied FacebookSDK.framework into project folder and add using target-build phrase - link binary with binaries. I tried to clean and build the project but still got error #import <FacebookSDK/FacebookSDK.h> file not found. Is there any solution for this issue? many thanks? By the way how to check version facebookSDK and see whether I need to migrate to new updated version?

Upvotes: 0

Views: 1224

Answers (1)

MedAmine.Rihane
MedAmine.Rihane

Reputation: 1213

If you are using Cocoapods i would suggest to update your FacebookSDK

to the latest with adding those 3 dependencies :

pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'

then a Pod Install from terminal to download the frameworks and finally do some changes since the new sdk is different .

Upvotes: 1

Related Questions