添加Facebook连接到我的iPhone项目 [英] Adding Facebook Connect to my iPhone Project
本文介绍了添加Facebook连接到我的iPhone项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- > MyProject
----> MyProject.xcodeproj
----> fbconnect-iphone
----> build /
----> <其他文件和文件夹>
按照指示,
- 我打开了fbconnect-iphone / src / FBConnect.xcodeproj项目文件。
- 我将FBConnect组拖到我的应用程序的Xcode项目中。
- 我保持将项目复制到目的地组的文件夹(如果需要)复选框。
按照指示,
- 我去了项目>编辑项目设置。
- 寻找标题搜索路径搜索路径。
- 添加了../../fbconnect-iphone/src。保留递归复选框关闭。
我使用Build按钮检查到目前为止所有内容都没有关系。没有/不是。它给我16个警告和101个错误。
我在这里缺少什么?
我使用的是iPhone SDK 3.0。 Xcode 3.1.3。
问候。
解决方案
路径../../fbconnect-iphone/src不起作用,但是绝对路径是诀窍。我仍然怀疑是否可以避免所有这些麻烦。
I'm having trouble adding Facebook Connect to my iPhone Project. Here's the directory structure:
-> MyProject
----> MyProject.xcodeproj
----> fbconnect-iphone
----> build/
----> <other files and folders>
As directed,
- I opened fbconnect-iphone/src/FBConnect.xcodeproj project file.
- I dragged the FBConnect group into my application's Xcode project.
- I kept "Copy items into destination group's folder (if needed)" checkbox OFF.
As directed,
- I went to Projects > Edit Project Settings.
- Looked for "Header Search Path" in Search Paths category.
- Added "../../fbconnect-iphone/src". Kept Recursive checkbox OFF.
I used "Build" button to check if everything is fine so far. It wasn't/isn't. It give me 16 warnings and 101 errors.
What am i missing here? I'm using iPhone SDK 3.0. Xcode 3.1.3.
Regards.
解决方案
Somehow the relative path "../../fbconnect-iphone/src" is not working, but absolute path does the trick. I still wonder if all this hassle can be avoided.
这篇关于添加Facebook连接到我的iPhone项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文