开发者

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 cl开发者_Go百科ang! Grrrr .... dubbeat smash!

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

I have clang on my desktop


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.


I don't user the Clang Static Analyzer but there's a built in static analysis in XCode 3.2:

http://developer.apple.com/mac/library/featuredarticles/StaticAnalysis/index.html


Either use the version bundled in XCode, or download a newer version at https://clang-analyzer.llvm.org/ then see some additional instructions at https://clang-analyzer.llvm.org/xcode.html to switch XCode to that downloaded version.

The question you've linked is quite old and the information is out-of-date, I would not refer to it much, any more.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜