Questions tagged [oclint-json-compilation]

5 questions
5
votes
1 answer

OCLint Xcode 9.3.1 Failure

I have the following Run Script , available at http://oclint-docs.readthedocs.io/en/stable/guide/xcode.html source ~/.bash_profile cd ${SRCROOT} xcodebuild clean xcodebuild | xcpretty -r json-compilation-database --output…
NNikN
  • 3,720
  • 6
  • 44
  • 86
3
votes
1 answer

OCLint got compile errors in html report file, but my project build success. WHY

xcodebuild -workspace ${myworkspace} -scheme ${myscheme} \ -sdk iphonesimulator \ -derivedDataPath ./build/derivedData \ -configuration Debug \ COMPILER_INDEX_STORE_ENABLE=NO \ | xcpretty -r json-compilation-database -o…
3
votes
0 answers

OCLint without running xcodebuild in run script

I've been trying to add OCLint to my project and it mostly works with cd ${SRCROOT} xcodebuild clean xcodebuild -target {TARGET} -configuration Debug -scheme {SCHEME} | tee ${TARGET_TEMP_DIR}/xcodebuild.log cd…
DranoMax
  • 474
  • 4
  • 18
1
vote
0 answers

A list of compiler rules for OCLint

Is there a list of all compiler rules (not OCLint rules) which oclint produceses with enabled option -enable-clang-static-analyzer? What I'm looking for is for example rule="clang static analyzer" or rule="compiler warning" from the xml snippet…
user2319066
  • 195
  • 18
1
vote
0 answers

Added OClint to Obj-c code. But it is not showing warnings

I tried adding oclint to Xcode referring to this Doc link Followed the sane steps as shown in the link. But I see no warnings. Can somebody help me out here?