xcode 8 shows 0 code coverage when running xctest uitests using xcodebuild, however when running from xcode the coverage details are shown.
I tried adding unittests as suggested in below stackoverflow question, however that too does not help when running the uitest's using xcodebuild
UI Test Case not show code coverage.
below stackoverflow question seem's to say that code coverage cannot be obtained for uitest's , but my question is how is xcode able to show the code coverage for uitest's