"FBConnect/FBConnect.h";没有这样的文件或目录错误 [英] "FBConnect/FBConnect.h" no such file or directory error

查看:93
本文介绍了"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.

这篇关于"FBConnect/FBConnect.h";没有这样的文件或目录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆