在xcodebuild期间找不到RestKit / RestKit.h'文件错误 [英] RestKit/RestKit.h' file not found error during xcodebuild
问题描述
我正在尝试使用Jenkins-CI自动构建使用Restkit的iOS项目,显然,restkit作为主项目中的项目驻留。该项目使用XCode-IDE成功构建。
I am trying to use Jenkins-CI to auto-build an iOS project that uses Restkit, apparently, restkit resides as a project inside the main project. And the project builds successfully using the XCode-IDE.
但是当我使用xcodebuild(jenkins使用它,我确实模拟了它)来构建项目
时它给出了
But when i use xcodebuild(jenkins uses it, and i did simulate the same) to build the project it gives the
error RestKit/RestKit.h file not found
任何线索是否出错,可以通过使用方案文件来纠正吗?如果是这样的话?或者我可以模拟,XCode-IDE如何处理这个问题?
Any clue whats going wrong, can this be corrected by using scheme file? If so how? or can I simulate, how XCode-IDE deals with this?
推荐答案
我不认为我在回答这个问题,而是正确的解决方法是利用XCode方案。另外,应该将特定方案标记为共享。
I don't think am answering this question, but a proper workaround this would be making use of XCode Schemes. Also one should mark the particular scheme as Shared.
这些链接可以提供帮助
http://tetontech.wordpress.com/2011/05/26/command -line-building-using-xcode /
http://developer.apple.com/library/ios/#recipes/xcode_help-scheme_editor/Articles/SchemeManage.html
这篇关于在xcodebuild期间找不到RestKit / RestKit.h'文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!