Can not find .a file from Clang scan-build

hi, all:
One of my iOS project throw the following errors when I execute the scan-build :

clang: error: no such file or directory: ‘/Users/mqq/hudson/clang_browser_newcore_ipad/tools/WebPageTest/WebPageTest/build/Release-iphoneos/libWebPageTest.a’
clang: error: no such file or directory: ‘/Users/mqq/hudson/clang_browser_newcore_ipad/MttHD_shell/Frameworks/KIF/build/Release-iphoneos/libKIF.a’
clang: error: no such file or directory: ‘/Users/mqq/hudson/clang_browser_newcore_ipad/xcodebuild/Release-iphoneos/libhttp_server.a’

At the same time ,my another script can build successfully which is not added scan-build, so is it the bug for scan-build ?
Inclosed is the scan-build log the scripts.
Can anynone give me tips?
BRs

Howard Ling

script.zip (573 KB)

[+cfe-dev]

Hi, Howard. Xcode is refusing to use ccc-analyzer to compile some of its files, which is what happens in some iOS projects when using the “old” scan-build / Xcode integration. This should be fixed in Xcode 4.6.

Sorry for the later response on this one,
Jordan

Hi, Jordan:
Inclosed is the scan script and scan-build log which are based xcode 4.6.
It seems that scan-build can not finish the scan.

clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Command /Users/mqq/hudson/clang_browser_newcore_ipad/icuios/llvm-build/Release+Asserts/bin/clang failed with exit code 1
Is it something wrong?
Thanks.

BRs
Howard Ling

xcode4.6.rar (6.73 KB)