我有以下运行脚本,可在 http://oclint-docs.readthedocs.io/en/stable/guide/xcode.html
source ~/.bash_profile cd ${SRCROOT} xcodebuild clean xcodebuild | xcpretty -r json-compilation-database --output compile_commands.json oclint-json-compilation-database -- -report-type xcode
(1个故障) oclint:没有指定足够的位置命令行参数!