OCLint
OCLint 安装
brew install oclintOCLint 使用
xcodebuild analyze -workspace ZLGitHubClient.xcworkspace -scheme ZLGitHubClient | tee $analyzeDirPath"/analyze.log" | xcpretty --report json-compilation-database -o $analyzeDirPath'/compile_commands.json'
oclint-json-compilation-database -p $analyzeDirPath -- -report-type pmd -o $analyzeDirPath'/report.html'
问题
参考文档
最后更新于