The Build and Analyze option does not seem to work for .cpp and .mm files. I tried "clang -analyze" in separate files without any standard #includes, and it works well. However, I cannot run it in my Xcode project. I could not figure out how to get clang to find the standard #includes, like UIKit.h. Any clues?
xcode clang static-analysis objective-c ++
Plumenator
source share