<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi, all:<div>I found scan-build(Checker-275) can not find .h files sometimes when scan the iOS projects.</div><div>For example , inclosed rar file has four files.</div><div>1) DailyBuild.sh ,daily build script (without scan-build). and build.log is the log (execute successfully).</div><div>2) scan.sh , which is has scan-build ,for scan Clang bugs, and scan.log is the log(execute fail).</div><div>See the following error from scan.sh:</div><div><div><b>/Users/mqq/hudson/clang_QQNote_iphone/Source/QNWNSResponseProtocol.m:13:9: fatal error: 'SNSLib/JSON.h' file not found</b></div><div><b>#import <SNSLib/JSON.h></b></div><div><b>        ^</b></div><div><b>1 error generated.</b></div></div><div>That is the scan-build can not find JSON.h file while the <span style="line-height: 1.7;">DailyBuild.sh can find for the same iPhone project.</span></div><div><span!
  style="line-height: 1.7;">So is the scan-build argument wrong ? Or some Xcode setting missing?</span></div><div><span style="line-height: 1.7;">I think the current verison of the scan-build is not smart to search .h file.</span></div><div><span style="line-height: 1.7;">Can anyone give me tips? Thanks.</span></div><div><br></div><div><div><div><div> BRs</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></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>