我想用jenkins打包我们iOS项目,我自己写的测试项目已经打包成功了,但是我公司的项目包含了两个子项目,子项目A 又 引用了子项目B 中的东西,在jenkins打包的时候报错说找不到子项目A 中 子项目B的东西。
In file included from /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadEngine.m:9: In file included from /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadEngine.h:11: /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadManagerConfig.h:8:9: fatal error: 'Youku/Youku.h' file not found #import "Youku/Youku.h" ^ 1 error generated.
In file included from /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadManage.m:9: In file included from /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadManage.h:9: In file included from /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadEngine.h:11: /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/DownloadManagerConfig.h:8:9: fatal error: 'Youku/Youku.h' file not found #import "Youku/Youku.h"
/Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/BackgroundManager.m -o /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/build/DownloadManager.build/Debug-iphoneos/DownloadManager.build/Objects-normal/armv7/BackgroundManager.o /Users/Shared/Jenkins/Home/jobs/youkuhdall/workspace/frameworks/download/DownloadManager/BackgroundManager.m:10:9: fatal error: 'Youku/MPAudioSession.h' file not found #import <Youku/MPAudioSession.h>
** BUILD FAILED ** The following build commands failed: CompileC build/DownloadManager.build/Debug-iphoneos/DownloadManager.build/Objects-normal/armv7/DownloadEngine.o DownloadManager/DownloadEngine.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Build step 'Xcode' marked build as failure Finished: FAILURE就是子项目A中引用了子项目B中的 #import "Youku/Youku.h"
大神出来指指路呀
大神,这个问题您现在解决了吗,我也碰到这种问题了,头疼ing
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。