user3201089
user3201089

Reputation:

facebooksdk.h file not found error in xcode 7

I just added FacebookSDK.Framework. but in my app delegate i am importing #import. But i got error like this “Facebook/Facebook.h” file not found. But i just drag and drop the facebooksdk framework. But still getting same error. I am also fixing in Build settings (Framework Search Path). still getting same error. I am giving Frameworksearch path like this “/Users/xxx/Desktop/xxxx/FacebookDemo”. Actually i am following the tutorial.”How to make Xcode find file FacebookSDK.h?” But still i got same error. SO Please guide me any body.. i am using xcode7.

Upvotes: 1

Views: 798

Answers (1)

Uma Madhavi
Uma Madhavi

Reputation: 4917

Just check where it is downloaded in Downloads or Documents. next click on project->targets->framework search path add

$(PROJECT_DIR)/your project name also add this

/Users/{username}/Documents/FacebookSDK

FacebookSDK-this should be your downloaded SDK name

Upvotes: 1

Related Questions