添加minizip中断Objective-C [英] Adding minizip breaks Objective-C

查看:75
本文介绍了添加minizip中断Objective-C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 ZipArchive 到我的项目中. "http://code.google.com/p/ziparchive/wiki/PageName" rel ="nofollow noreferrer"> WikiPage .我已经将其添加到项目中并尝试构建,但是现在NSObjRuntime.h,NSObject.h和无数其他头文件都存在解析问题!

I'm attempting to add ZipArchive to my project following the WikiPage. I've added it to my project and attempted to build, but now NSObjRuntime.h, NSObject.h and countless other header files are all having parsing issues!

我包括了我的工作区的屏幕截图

I've included a screenshot of my workspace

和错误...

有关该项目的更多详细信息.

Some more details about the project.

  • 基于iOS5构建.
  • 使用ARC.

推荐答案

所以我终于明白了.我没有添加组,然后将文件添加到这些组,而是将ZipArchive文件夹拖放到了项目中.在弹出的对话框中,我选择了为任何添加的文件夹创建文件夹引用".

So I finally got it figured out. Instead of adding groups and then adding the files to those groups, I dragged and dropped the ZipArchive folder into the project. In the dialog that pops up...I chose the "Create folder references for any added folders".

这给了我工作区中的BLUE文件夹,现在一切都可以编译了.

This gave me BLUE folders within my workspace, and everything compiles fine now.

但是,现在我需要弄清楚文件夹引用和组引用之间的区别.

Though, now I need to figure out the difference between folder references and group references.

这篇关于添加minizip中断Objective-C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆