I have issue with my UnitTest target.
When I try to run unit test I got error Missing required module ‘LegacyCoreKit’
I have no idea what is this framework for. I can’t find it in my project and I can’t find it in Google.
Do you have any idea where to find this module or how to fix it?
I tried to find this module in Google but there is no sign of it
3
Answers
I Solved this with "Clean Build Folder"
I am able to resolve this issue. In my case, this was happening due to SPM modules were not being added in
Tests
target which were being used inproject
target.Tests
targetBuild Phases
Link Binary with Libraries
, add all the modules which were used inproject
targetAfter performing the above mentioned steps, Run the Tests using
Command + U
. It will be succeededYou just need to add the modulars and set headers to true.
update pod like this,