我在使用scan-build工具在其他線程中建議的項目chibi-ORM中查找泄漏。錯誤「運行scan-build時無法發現'ccc-analyzer'」
但是從終端中運行時:
/Users/mamcx/Downloads/checker-0.138/scan-build -k -V xcodebuild
我得到這個:
009-01-13 10:33:18.296 xcodebuild[14025:4213] Warning: Couldn't discover the 'ccc-analyzer' compiler's built-in search paths and preprocessor definitions for language dialect 'objective-c'. This may lead to indexing issues.
Compiler: /Users/mamcx/Downloads/checker-0.138/ccc-analyzer
Reason: gcc-4.0: installation problem, cannot exec '/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1': No such file or directory
不過,我可以建立&調試從Xcode的井就好了。這是這個工具的問題,或者是我的錯誤?