1.0 安装Jenkins和 shenZhen
- Jenkins(下载地址) ;
- shenzhen
sudo gem install -n /usr/local/bin shenzhen
或者
sudo gem install shenzhen
选其中的一个就行
2.0 编译
执行如下命令:
ipa build --verbose
--verbose
显示更多的信息
如果出现如下错误:
CompileC /Users/FM/Library/Developer/Xcode/DerivedData/huoxiu-ciqdkbpevvossfalmmtnneswvash/Build/Intermediates/huoxiu.build/Release-iphoneos/huoxiu.build/Objects-normal/armv7/NetworkDiagnosisViewController.o huoxiu/MainFiles/MainClass/NetworkDiagnosisViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
** ARCHIVE FAILED **
The following build commands failed:
CompileC /Users/FM/Library/Developer/Xcode/DerivedData/huoxiu-ciqdkbpevvossfalmmtnneswvash/Build/Intermediates/ArchiveIntermediates/huoxiu/IntermediateBuildFilesPath/huoxiu.build/Release-iphoneos/huoxiu.build/Objects-normal/armv7/NetworkDiagnosisViewController.o huoxiu/MainFiles/MainClass/NetworkDiagnosisViewController.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)