Clang静态分析器用于xcode的假人

问题描述:

有人能帮我让Clang启动并运行吗? (我没有3.2)Clang静态分析器用于xcode的假人

我跟着很多教程(基本上每个链接关闭此页Using Clang Static Analyzer from within XCode),但我不能让它工作!

到目前为止,我成功做到的唯一一件事就是下载clang! Grrrr .... dubbeat粉碎!

请记住,我从未写过苹果脚本。

我已经铛我的桌面上

最简单的方法是只更新到3.2.1的Xcode - 使用铛就变成了一个没有脑子 - 没有安装或配置 - 刚刚成立的编译器锵LLVM 1.0在项目设置中。

+0

你知道,如果3.2可以在所有的,而不是下载的被张贴在CD? – dubbeat 2010-03-26 10:01:41

+0

当然 - 只需访问http://developer.apple.com并下载它。 – 2010-03-26 10:05:33

+0

我会承认失败并获得3.2。 只是出于好奇你能帮我理解这个错误吗? 上次登录:周五3月26日09:02:51在控制台上 cd'/ Users/dub/Desktop/Barry Apps/MyApp2'; scan-build xcodebuild -configuration Debug clean; scan-build -V xcodebuild -configuration调试 dubs-mac:〜dub $ cd'/ Users/dub/Desktop/Barry Apps/MyApp2'; scan-build xcodebuild -configuration Debug clean; scan-build -V xcodebuild -configuration调试 -bash:scan-build:command not发现 -bash:scan-build:找不到命令 dubs-mac-mini:MyApp2 dub $ – dubbeat 2010-03-26 10:16:58

我不使用该锵静态分析,但有一个内置的静态分析的XCode 3.2:

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