Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 210
ff10 Avatar asked Jan 23 '26 13:01

ff10


1 Answers

Use latest dev 0.8 or 0.9

for me it corrected the bug.

Seen in Sonar Plugin for Objective C, Prerequisites, point 4.

like image 88
malaba Avatar answered Jan 26 '26 03:01

malaba



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!