Search code examples
xcodeclang-static-analyzer

Clang Static Analyzer for xcode for dummies


Could somebody please help me get Clang up and running? (I don't have 3.2)

I've followed numerous tutorials (basically every link off of this page Using Clang Static Analyzer from within XCode) but I just cant get it to work!

The only thing I've managed to do successfully so far is download clang! Grrrr .... dubbeat smash!

Bear in mind I've never written an apple script before.

I have clang on my desktop


Solution

  • The easiest way is to just update to Xcode 3.2.1 - using clang then becomes a no-brainer - nothing to install or configure - just set the compiler to Clang LLVM 1.0 in the project settings.