1.0 安裝Jenkins和 shenZhen
- Jenkins(下載地址) ;
- shenzhen
sudo gem install -n /usr/local/bin shenzhen
或者
sudo gem install shenzhen
選其中的一個就行
2.0 編譯
執(zhí)行如下命令:
ipa build --verbose
--verbose
顯示更多的信息
如果出現(xiàn)如下錯誤:
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)