“为归档而构建"工作,“档案"才不是 [英] "Build for archiving" work, "Archive" does not
问题描述
在我当前的项目中,我正在集成 RestKit 库(我不知道它是否重要),当我使用Archive"编译器抱怨时尝试交付应用程序进行测试
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 步:如何获得隐式依赖项以在 Xcode 4 中使用工作区?
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屋!