<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>Hi, all,:</div><div>when I use the following command to analyze the iPhone project , almost every project will throw the<strong> Can't exec "clang++" </strong>problem.</div><div>Here is the scan-build log, can anyone give me tip? Thanks for your  help.</div><div> </div><div>My scan command is:</div><div><!--StartFragment --><div>
/data/checker/scan-build -o report --use-analyzer=Xcode --use-cc=$clang_path $xcode_path -scheme MttHDDistribution -configuration $CONFIG -sdk $SDK archive
</div></div><div> </div><div>And the scan log is the following text:<br><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Ld /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/InstallationBuildProductsLocation/Applications/MttHD.app/MttHD normal armv7</span><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">    cd /Users/mqq/hudson/clang_browser_ipad/MttHD</span><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">    setenv IPHONEOS_DEPLOYMENT_TARGET 4.0</span><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">    setenv PATH "/Applications/xcode4.6_sdk6.1/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/xcode4.6_sdk6.1/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"</span><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">    /data/checker/libexec/c++-analyzer -arch armv7 -isysroot /Applications/xcode4.6_sdk6.1/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Distribution-iphoneos -L/Applications/xcode4.6_sdk6.1/Contents/Developer/usr/lib -L/Users/mqq/hudson/clang_browser_ipad/MttHD/ffmpeg/compiled/fat/lib -F/Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Distribution-iphoneos -F/Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Distribution-iphoneos -F/Users/mqq/hudson/clang_browser_ipad/MttHD/Classes/Engine/MSF -F/Users/mqq/hudson/clang_browser_ipad/MttHD/Classes/Engine/Analytics -F/Users/mqq/hudson/clang_browser_ipad/MttHD/WirelessUnifiedProtocol/build/Distribution-iphoneos -F/Users/mqq/hudson/clang_browser_ipad/MttHD/MiniQQMusic/build/Debug-iphoneos -filelist /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/IntermediateBuildFilesPath/MttHD.build/Distribution-iphoneos/MttHD.build/Objects-normal/armv7/MttHD.LinkFileList -dead_strip -lxml2 -fobjc-arc -ObjC -fobjc-link-runtime -miphoneos-version-min=4.0 -framework AdSupport -framework StoreKit -framework AddressBookUI -framework AddressBook -framework CoreVideo -liconv -framework CoreMedia /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Release-iphoneos/libqrencoder.a /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Release-iphoneos/libZXingWidget.a -lCocoaHttpServer -framework Analytics -framework Security /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/BuildProductsPath/Distribution-iphoneos/libWirelessUnifiedProtocol.a -licucore -lsqlite3.0 -lxml2 -lz -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework QuartzCore -framework SystemConfiguration -framework AudioToolbox -framework MediaPlayer -framework AVFoundation -framework MobileCoreServices -framework CoreFoundation -weak_framework MessageUI -framework CoreLocation -weak_framework CoreTelephony -framework CoreText -lavcodec -lavdevice -lavformat -lavutil -lswscale -o /Users/mqq/Library/Developer/Xcode/DerivedData/MttHD-aqrymoiwlplqyoaerjdmeutxmpdd/Build/Intermediates/ArchiveIntermediates/MttHDDistribution/InstallationBuildProductsLocation/Applications/MttHD.app/MttHD</span></div><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"></span><div><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><strong><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Can't exec "clang++": No such file or directory at /data/checker/libexec/c++-analyzer line 429.</span><br style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Command /data/checker/libexec/c++-analyzer failed with exit code 255</span></strong></div><div><strong><span style="font: 15px/normal ΢ź, "MS Sans Serif", sans-serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; background-color: rgb(255, 237, 196); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"></span></strong><br> BRs</div><div><div>
<div>Howard Ling </div>
<div>*****************************************************</div>
<div> </div>
<div>E-mail:    <a href="mailto:linghuan713@126.com">linghuan713@126.com</a></div>
<div> </div>
<div>*****************************************************</div></div></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>