XCode 4:将 parsekit 库添加到项目中

发布于 2024-12-27 09:54:35 字数 679 浏览 4 评论 0原文

我正在使用 XCode 4.2,并且尝试将 parsekit 库添加到我的项目中,这就是我所做的:

  1. 将 ParseKit.xcodeproj 作为子项目拖到 XCode 中的我的项目中。
  2. 将 libparsekit.a 添加到带有库列表的链接二进制文件
  3. 尝试编译,一切仍然有效。

将其添加到我的代码中:

#import <ParseKit/ParseKit.h>

然后我尝试输入一些代码,自动完成工作,所以它一定找到了库...但是当我编译时,我收到此错误:

'ParseKit/ParseKit.h' file not found

我还尝试用以下行替换导入代码,但没有任何效果,他们都给出了相同的错误...

#import "ParseKit/ParseKit.h"
#import "ParseKit.h"
#import <ParseKit.h>

有人知道如何解决这个问题吗?

这是有关如何将 ParseKit 导入我的项目的视频: http://youtu.be/xjF8c2vo9vA

I'm using XCode 4.2 and I'm trying to add the parsekit library to my project, this is what I did:

  1. Drag the ParseKit.xcodeproj to my project in XCode as a Sub Project.
  2. Adding the libparsekit.a to the link binary with libraries list
  3. Trying to compile, everything still works.

Adding this to my code:

#import <ParseKit/ParseKit.h>

Then I've tried typing some code, and autocomplete works, so it must have found the library... But when I compile, I get this error:

'ParseKit/ParseKit.h' file not found

I also tried to replace the import with the following lines of code, but nothing worked, they all gave the same error...

#import "ParseKit/ParseKit.h"
#import "ParseKit.h"
#import <ParseKit.h>

Anyone got an idea on how to resolve this problem?

Here's a video on how I imported ParseKit into my project:
http://youtu.be/xjF8c2vo9vA

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤蝉 2025-01-03 09:54:35

ParseKit 的开发者在这里。请在此处查看 iOS 上的 ParseKit 说明:

http://parsekit.com/iphone.html 说明来自 Xcode 3,我认为您缺少步骤 7 和 7。 8.

Developer of ParseKit here. Please checkout the instructions for ParseKit on iOS here:

http://parsekit.com/iphone.html

Although the instructions are from Xcode 3, I think you are missing steps 7 & 8.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文