XCode 4:将 parsekit 库添加到项目中
我正在使用 XCode 4.2,并且尝试将 parsekit 库添加到我的项目中,这就是我所做的:
- 将 ParseKit.xcodeproj 作为子项目拖到 XCode 中的我的项目中。
- 将 libparsekit.a 添加到带有库列表的链接二进制文件
- 尝试编译,一切仍然有效。
将其添加到我的代码中:
#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:
- Drag the ParseKit.xcodeproj to my project in XCode as a Sub Project.
- Adding the libparsekit.a to the link binary with libraries list
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.