OCLint and xcode project

1.6k Views Asked by At

since yesterday I'm trying to make OCLint works with my iOS project.

What I've done so far is to follow these instructions to install OCLint, then I've followed these other instructions to use it within Xcode. The problem is that when I try to build the OCLint aggregate target the build process never end (I've waited 30 minutes before stopping it). Is someone experiencing the same issue? the OCLint version I'm using is oclint-0.9.dev.3f9355e

1

There are 1 best solutions below

0
On

try this on Terminal

xctool -workspace xx.xcworkspace -scheme xx -reporter json-compilation-database:compile_commands.json clean

xctool -workspace xx.xcworkspace -scheme xx -reporter json-compilation-database:compile_commands.json build

oclint-json-compilation-database