After trying many different things, the answer was to not include the main target's classes in the test target's "Target Membership".
Xcode 5.1 Code Coverage File Generation Inaccurate
-
22-07-2023 - |
Vra
I am attempting to use XcodeCoverage to get code coverage reports but am finding that lines that I know are being executed are not showing in the coverage reports or the raw gcov files. I followed the XcodeCoverage installation guide in multiple projects and am seeing the same results.
I created a sample project that exhibits the same behavior, what am I doing wrong here?
Oplossing
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow