Hi,<div><br></div><div>I've got an iPhone XCode project which has a direct dependency over a second XCode project producing a static library. This static library is linked to my project. I've added an import to my main .pch (precompiled header) file so I've got all the import for my library (i.e : #import "BkCommon.h").</div>
<div><br></div><div>All this builds perfectly well in XCode (I've had to add a relative path in the "User header search path" to the directory where the second project files are located). Here's the problem, when I run "scan-build xcodebuild", it builds, but it gives me a bunch of "analyzer issues" (I don't quite remember the term used). Looking at the STDERR output shows that all the error are related to the #import line in my .pch. It says that it can't find the file "BkCommon.h". To me, it's as if scan-build is ignoring the "User header search path"...</div>
<div><br></div><div>Any help on the matter would be greatly appreciated.</div><div><br></div><div>Thanks</div><div>Francois</div>