VinayChoudhary99
VinayChoudhary99

Reputation: 914

Clang compatibility with XCode 4.4.1

I am using XCode 4.4.1 and want to do static analysis via CLang manually.

I downloaded Clang checker build 267.

Using xcodebuild I am able to build my project, but when using scan-build xcodebuild, I get error.

Details: Unable to get message category info for tool '/Users/vinay/checker-267/libexec/ccc-analyzer'.
Reason: Can't execute "clang": No such file or directory at line /Users/vinay/checker-267/libexec/ccc-analyzer 428

Can I use Clang with XCode version 4.4 Or is there any other static analysis tool that I can use?

Thanks.

Upvotes: 1

Views: 263

Answers (1)

thakis
thakis

Reputation: 5889

Clang's static analyzer is available from within Xcode: Use Product→Analyze, or hit shift-cmd-b to use it on your project.

Upvotes: 1

Related Questions