# Code Coverage Problem

**URL:** <https://community.tuist.dev/t/code-coverage-problem/516>\
**Category:** General\
**Created:** [April 22, 2025, 7:23am UTC](https://community.tuist.dev/t/code-coverage-problem/516 "2025-04-22T07:23:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MilikaBetsson](https://community.tuist.dev/user_avatar/community.tuist.dev/milikabetsson/32/489_2.png) [@MilikaBetsson](https://community.tuist.dev/u/MilikaBetsson)\
**Post date:** [April 22, 2025, 7:23am UTC](https://community.tuist.dev/t/code-coverage-problem/516/1 "2025-04-22T07:23:33Z")

</div>

Hi, Im creating and uiTest scheme in my project that contains my SPM module, and cant add any of SPM targets to build action targets of uiTest scheme (which is needed for test coverage).  
I get an error:

```auto
The following items may need attention: 
▌ ▸ Cannot find targets myTarget (.) defined in myScheme

```

After opening project in xcode I can add it manually..  
Any help would be appreciated!  
Regards

---

<div class="post-metadata">

**Author:** ![pepicrft](https://community.tuist.dev/user_avatar/community.tuist.dev/pepicrft/32/5_2.png) [@pepicrft](https://community.tuist.dev/u/pepicrft)\
**Post date:** [April 22, 2025, 10:09am UTC](https://community.tuist.dev/t/code-coverage-problem/516/2 "2025-04-22T10:09:20Z")

</div>

Hi @MilikaBetsson

Would you be able to share [a project](https://docs.tuist.dev/en/contributors/issue-reporting#reproducible-project) where we can reproduce the issue?
