当前位置: 动力学知识库 > 问答 > 编程问答 >

c++ - How can I fix Xcode's Build & Analyze?

问题描述:

After installing Xcode 6, my Xcode 5 seems to have stopped performing static analysis on my main app target. I can run Build & Analyze and it turns up static analysis issues in sub projects, but not my main target.

I've tried reinstalling Xcode 5, but it has not helped. I have also tried installing the clang-checker separately and following the instructions for incorporating it into Xcode. After installing the clang-checker I'm seeing analysis for some of the files in my app target, but not all of them. It looks like any C++ or Objective-C++ files in my project are not being analyzed.

If I run scan-build from the command line to try to analyze my project outside of Xcode, I get "analyzer issues" with all of the .mm files.

Has anybody got any suggestions for fixes for this behavior? Thanks!

分享给朋友:
您可能感兴趣的文章:
随机阅读: