Recently I'm preparing UITesting for our app.
My XCode version is 7.3.1(7D1014). When I had executed 'UITesting' in XCode as manual, I got the coverage report successfully.
But execute test same project with command line, created "Coverage.profdata" file size is different with xcode.
And convert that coverage data to 'cobertura format' using 'slather', the result of each branch is zero.
Here is my xcodebuild statement
xcodebuild test -project SampleTestApp.xcodeproj -scheme SampleTestApp -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 5s,OS=9.3' -enableCodeCoverage YES
I think below issue is similar situation.
https://github.com/nakiostudio/xcov/issues/22#issuecomment-214940814
Is there anyone who had experienced same issue?