"FBConnect/FBConnect.h";没有这样的文件或目录错误

问题描述:

我正在开发一个集成了Facebook的iPhone应用程序.我添加了 fbconnect 文件夹,该文件夹是我从互联网上下载的,并添加了#import "FBConnect/FBConnect.h". 但是当我运行该应用程序时,它显示了很多错误,例如

I am developing an iphone application which has some facebook integration in it.I added the fbconnect folder which i downlaoded from internet and added #import "FBConnect/FBConnect.h". But when i run the app it shows a lot of errors like

  "FBConnect/FBConnect.h" no such file or directory
  "FBConnect/FBsession.h" no such file or directory etc.

我下载了一些运行良好的Facebook项目,但是我的问题可能是什么?

I downloaded some facebook projects that works fine But what can be the problem with mine?

标头搜索路径不正确.

在标题搜索路径中,写../src/&将您的facebook connect下载源放在您的项目所在的文件夹中.这样便可以正常工作.

In your header search paths write ../src/ & place your facebook connect downloaded source in the same folder in which your project is kept.It should work then.