ZipKit和Xcode 4 [英] ZipKit and Xcode 4

查看:108
本文介绍了ZipKit和Xcode 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试使用这些说明将ZipKit设置为我们的Xcode 4项目的一部分我们无法让我们的应用程序进行编译。



这是我们目前的设置(因为我不允许发布图片,我只是给你链接到他们):



项目设置



所有版本都设置为进入共享目录:
Xcode偏好设置



构建应用程序时,我们收到以下错误:
UIUpdateDownloadDialog.m:10:9:致命错误:找不到'ZKDataArchive.h'文件 1



UIUpdateDownloadDialog中的那一行.m #importZKDataArchive.h



关于我们是什么的任何想法做错了?



谢谢!

解决方案

对不起回复需要很长时间,但我的日程安排非常繁忙。



我们设法让ZipKit在XCode 4下运行,并且能够为模拟器和设备构建。



我们是这样做的:


  1. 我们打开了Demo项目ZipKit并一直向下找到包含的ZipKit.xcodeproj。

  2. 一旦我们有了这个,我们打开了我们的项目并[将ZipKit拖到我们项目的frameworks文件夹中。 http://i.stack.imgur.com/zcbYR.png

  3. 我们将项目中两个目标的构建设置(以及静态库 touchzipkit )更改为构建活动架构只有

然后我们可以随处修建。



<事实上,昨晚我们即将向Apple发送应用更新,但在尝试创建存档时,我们收到了链接错误!但这是一个问题本身



感谢大家的帮助!


We're trying to set up ZipKit as part of our Xcode 4 project using these instructions and we're having trouble getting our application to compile.

Here's the setup we currently have (as I'm not allowed to post images, I'll just give you the links to them):

Project Setup

All builds are set to go into a shared directory: Xcode Preferences.

When building the app, we get the following error: UIUpdateDownloadDialog.m:10:9: fatal error: 'ZKDataArchive.h' file not found 1

That line in UIUpdateDownloadDialog.m says #import "ZKDataArchive.h".

Any ideas on what we're doing wrong?

Thank you!

解决方案

I'm sorry it took so long to respond, but my schedule has been very hectic.

We managed to get ZipKit working under XCode 4 and be able to build for both the simulator and devices.

Here's how we did it:

  1. We opened the Demo project from ZipKit and went all the way down to find the included ZipKit.xcodeproj.
  2. Once we had that, we opened our project and [dragged ZipKit into the frameworks folder of our project. http://i.stack.imgur.com/zcbYR.png
  3. We changed the build settings of both the targets in our project (as well as the static library touchzipkit) to Build Active Architecture Only.

We were then able to build everywhere.

In fact, last night we were about to send the app update to Apple, but when trying to create the archive we got a linking error! But that's a question on its own.

Thank you all for trying to help!

这篇关于ZipKit和Xcode 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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