Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I have been running into this problem intermittently. I stumbled into a good length of lucky time where it was "mostly working" in my main project. By mostly working I mean I was able to get coverage to show up, but with a little more pain than on 10.5. I had to aggressively delete the coverage files and rebuild in order to get any updates, for instance. Even in my "barely working" state, the compiler/runtime doesn't seem willing to overwrite an existing coverage data file.</p> <p>I think I've stumbled back on to a working scenario. Voodoo for sure, and less than ideal:</p> <ol> <li>Make sure the SDK is 10.6.</li> <li>Make sure the deployment is set to gcc 4.0 (!).</li> <li>Do a full clean of the project.</li> <li>Rebuild.</li> </ol> <p>Does this get you the expected coverage data?</p> <p>Granted, I would expect to be able to generate coverage files that work using gcc 4.2 or one of the LLVM compilers, but for the moment this seems to have me slightly less crippled than before.</p> <p>Another clue: when I observe the coverage data (using Google's <a href="http://code.google.com/p/coverstory/" rel="nofollow noreferrer">Cover Story</a>), I get warnings like:</p> <blockquote> <p>/BUILDRESULTS/MarsEdit.build/Code Coverage/MarsEditDataModelTests.build/Objects-normal/i386/MEDataItem.gcno:version '400A', prefer '402*'</p> </blockquote> <p>But the coverage information is still presented. So it seems it's balking at an older coverage format version, but if I use the newer compiler (4.2) which would presumably generate the newer format <code>.gcno</code> files, the 0% coverage problem plagues me as it does Graham.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload