Click target and “Edit scheme”.
Select “Test”. Tick the checkmark.
![](https://forceunwrap.com/wp-content/uploads/2022/06/enableCodeCoverage-1024x412.png.webp)
CMD
+ U
– Run the test target.
CMD
+ 9
– Show the Report Navigator
When in Report navigator – expand the coverage.
![](https://forceunwrap.com/wp-content/uploads/2022/06/codeCoverage.jpg.webp)
Click target and “Edit scheme”.
Select “Test”. Tick the checkmark.
CMD
+ U
– Run the test target.
CMD
+ 9
– Show the Report Navigator
When in Report navigator – expand the coverage.