简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM