Oclint: oclint-json-compilation-database returns "Skip [Path] Command line not found."

After (seemingly) successfully creating compile_commands.json with oclint-xcodebuild, oclint-json-compilation-database will not be able to correctly create a report of type pmd.

The command looks like this:

oclint-json-compilation-database -e Pods -v -- -report-type=pmd -o=oclint.xml -debug

It returns:

Skipping [Path to Directory with compile_commands.json]. Command line not found.

I am using oclint 0.7.

+3
source share
2 answers

Use the latest dev 0.8 or 0.9

for me this fixed the error.

Seen in the Sonar Plugin for Objective-C , Prerequisites, paragraph 4.

+2
source

Your team must be changed. No "=". It should look like this:

oclint-json-compilation-database -e Pods -v -- -report-type pmd -o oclint.xml -debug
+2
source

All Articles