Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
第 1 步
第一步是访问 Objective-C 客户端的 Google Code 网站,下载并解压 zip 文件源代码。或者,您可以使用以下方法通过 Git 获取最新、最好的版本:
如果您从网站下载了 zip 文件,您将获得版本 1.7.0。
第 2 步
从下载的文件夹中打开 GData Xcode 项目以及 iPhone 应用程序 Xcode 项目。
第 3 步
将 GData 源文件夹从 GData 项目拖动到您的 iPhone 应用程序项目,并将其添加为参考 [不要选中将项目复制到目标组文件夹中的复选框(如果需要)。]不需要将所有文件复制到您的项目中。可以,但这不是必需的。
第 4 步
打开 iPhone 应用程序项目的构建设置。找到并设置以下设置。
* 标头搜索路径:/usr/include/libxml2 ../gdata-objectivec-client-1.9.1/Source
* 其他链接器标志:-lxml2、-ObjC
仅对于调试构建配置,添加其他 C 标志设置,以便包含库的仅调试代码:
步骤 5
现在确保下载的源代码代码与实际代码文件夹位于同一目录中。
第 6 步
确保我已将框架“SystemConfiguration.FrameWork”和“Security.FrameWork”添加到您的项目中。
希望它有帮助..这些是 GData 集成的步骤
Step 1
The first step, is to head on over to the Google Code website for the Objective-C Client, download and extract the zip file source code. Alternatively, you can get the latest and greatest version via Git using:
If you downloaded the zip file from the website, you’ll have version 1.7.0.
Step 2
Open up the GData Xcode Project from your downloaded folder as well as your iPhone App Xcode project.
Step 3
Drag over the GData Sources Folder from the GData project to your iPhone App project and add it as reference [don't check the box for Copy items into destination group's folder (if needed).] You do not need to copy over all the files into your project. You can, but it’s not required.
Step 4
Open up the build settings for your iPhone App project. Located and set the following settings.
* Header Search Paths: /usr/include/libxml2 ../gdata-objectivec-client-1.9.1/Source
* Other Linker Flags: -lxml2, -ObjC
For the Debug build configuration only, add the Other C Flags setting so that the library’s debug-only code is included:
Step 5
Now be sure that the downloaded source code is in the same directory in which your actual Code Folder is.
Step 6
Make sure I've the frameworks "SystemConfiguration.FrameWork" and "Security.FrameWork" added to your project.
Hope it helps..These are the steps for GData integration
屏幕截图中的错误是系统的Security.framework框架未链接到应用程序,但GData OAuth登录控制器(需要Security.framework)链接到应用程序。
将 Security.framework 添加到您的应用程序目标,或删除 OAuth 源文件。 https://github.com/google/gdata-objectivec- 中提到了这一点客户端/wiki/BuildingTheLibrary
The error in the screenshot is that the system's Security.framework framework is not linked to the application, but the GData OAuth sign-in controller (which requires Security.framework) is linked into the app.
Either add Security.framework to your application target, or remove the OAuth source files. This is mentioned at https://github.com/google/gdata-objectivec-client/wiki/BuildingTheLibrary