“为归档而构建";工作,“存档"才不是 [英] "Build for archiving" work, "Archive" does not

查看:75
本文介绍了“为归档而构建";工作,“存档"才不是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我当前的项目中,我正在集成RestKit库(我不知道这是否重要),试图在我使用编译器抱怨的存档"时交付该应用程序进行测试

In my current project I am integrating RestKit library (I don't know if it matters), trying to deliver the app for testing when I use "Archive" the compiler complains

 "RestKit/RestKit.h" is not found

在构建和运行应用程序(甚至在iPhone上,不仅是模拟器上)时,完全没有显示任何问题.

while building and running the app (even on iPhones, not just the simulator) does not show any problem at all.

推荐答案

我遇到了同样的问题.这似乎是Xcode如何处理静态库和隐式依赖项的错误或某种东西.您可以在此处找到一些建议:编译,生成或存档Xcode 4(和依赖项)出现问题

I had the same issue. It appears to be a bug or something in how Xcode handles static libraries and implicit dependencies. You can find several suggestions here: Compile, Build or Archive problems with Xcode 4 (and dependencies)

对我来说,答案的第3步就是解决方案.另请参阅此处答案的第8步:

For me, step 3 on the answer was the solution. Also see step 8 on the answer here: How do you get implicit dependencies to work with workspaces in Xcode 4?

这篇关于“为归档而构建";工作,“存档"才不是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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