Code Coverage Problem

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:

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

Hi @MilikaBetsson

Would you be able to share a project where we can reproduce the issue?