1
回答
用jenkins自动打包iOS,单个项目打包成功了,但是我公司项目包含两个子项目,相互依赖,打包的时候编译错误了
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

我想用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" 

大神出来指指路呀


举报
田益华
发帖于2年前 1回/1K+阅
顶部