Xcode code coverage: How to exclude framework code?
Asked Answered
T

1

11

I have a unit test that tests my target application. My target application depends on a dynamic framework.

When the code coverage results come back, it lists my target application's code coverage as well as the dynamic framework's

I do not want to get the dynamic framework to give code coverage. Is it possible to exclude it?

Tjon answered 15/12, 2016 at 23:41 Comment(1)
Does this help? #33888190Shortchange
A
0

Add parameters when using [llvm cov]: -ignore-filename-regex="File path you want to exclude"

Applied answered 18/3, 2022 at 3:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.