简体   繁体   English

iPhone中的Facebook集成

[英]facebook integration in iphone

i have download code from http://svn.facebook.com/svnroot/platform/clients/packages/fbconnect-iphone.zip 我已经从http://svn.facebook.com/svnroot/platform/clients/packages/fbconnect-iphone.zip下载了代码

and i done all the thing according to seen in this tutorial still get an error when i set path for "projects/FacebookAPI/src" like this facebookconnect undeclared still i have include all the things necessarly. 当我设置“ projects / FacebookAPI / src”的路径(未声明此facebookconnect)时,按照本教程中的说明做的所有事情仍然会出现错误,但我仍然必须包含所有内容。 please help me........ 请帮我........

This type of error generate in my app.... error: There is no SDK with the name or path 'iphoneos3.1.2' 我的应用程序中会产生这种类型的错误。...错误:没有名称或路径为“ iphoneos3.1.2”的SDK

Please help me..... 请帮我.....

Your project that you are working with seems to be an older one. 您正在处理的项目似乎是一个较旧的项目。 As iOS is updated, newer version of the SDK are released, which don't include the older SDKs. 随着iOS的更新,将发布新版本的SDK,其中不包括旧版SDK。 You need to change the SDK version of your project. 您需要更改项目的SDK版本。 Right click on the blue project icon in Xcode and click "Get Info". 右键单击Xco​​de中的蓝色项目图标,然后单击“获取信息”。 You will want to change the "Base SDK" setting to one of the available options, from 3.1.2. 您将需要将“ Base SDK”设置从3.1.2更改为可用选项之一。

Try building yur project. 尝试建立您的项目。 If this does not work, right click on your active target (or click Project Settings->Edit Active Target) and change the "Base SDK" there as well. 如果这不起作用,请右键单击您的活动目标(或单击“项目设置”->“编辑活动目标”),并在那里也更改“ Base SDK”。

Try building you project. 尝试构建您的项目。 If this does not work, right click on your project icon in the lefthand panel and click "Reveal in Finder". 如果这不起作用,请右键单击左侧面板中的项目图标,然后单击“在Finder中显示”。 In Finder, right click on your xcodeproj file and click "Show Package Contents". 在Finder中,右键单击xcodeproj文件,然后单击“显示软件包内容”。 At this point, I suggest closing Xcode. 在这一点上,我建议关闭Xcode。 Open each of the three files and search for "iphoneos3.1.2" if you find it, replace 3.1.2 with the SDK number you want to use (probably 4.2.1). 打开这三个文件中的每一个,如果找到它,则搜索“ iphoneos3.1.2”,将3.1.2替换为要使用的SDK编号(可能是4.2.1)。 Save the file(s) which you modified and then, if you closed Xcode earlier, open it. 保存修改后的文件,然后,如果您之前关闭了Xcode,则将其打开。

You should be able to build now. 您应该现在就可以构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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