difference between code coverage % in Xcode UI and llvm-cov report

Hi Everybody - I am seeing a difference between the code coverage percentage when I mouse-over the code coverage bar for my app in the Xcode UI, and when I run llvm-cov from the commandline. Has anybody seen this before? I feel like there is a critical bit of info I am missing. To be clear I am running both unit tests and ui unit tests (Cmd-U) in Xcode, versus


/usr/bin/xcrun llvm-cov report -arch i386 -instr-profile /path/to/Coverage.profdata /path/to/MyApp.app/MyApp


which also runs both tests and ui tests.


So which one is the correct number? the Xcode % is about double than that reported by llvm-cov. Can anybody see what is going on here?

It looks to me like the UI test coverage is not being pulled into the llvm-cov results. Even so, I still see differences between the number Xcode reports and what is in the llvm-cov results.

difference between code coverage % in Xcode UI and llvm-cov report
 
 
Q