Basically you just give oclint
whatever you give to your compiler.
Alternatively, you may want to try oclint-xcodebuild
if you are not familiar with compiler flags. This is a Python script that extracts flags from your Xcode build log file. See the usage here.