After (seemingly) successfully generating compile_commands.json with oclint-xcodebuild, oclint-json-compilation-database fails to correctly create a pmd-style report.
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'm using oclint 0.7.
Use latest dev 0.8 or 0.9
for me it corrected the bug.
Seen in Sonar Plugin for Objective C, Prerequisites, point 4.