Watch app does not recognise package dependencies

Hello All, I'm new to the forum and learning app development. I have managed to solve most issues through the web but this one has me stumped. I'm using Xcode 15.4 on a MacBook Air M1 and working on a iOS/WatchOS project. The iOS app is done and I've started on the Watch one by copying the code over. There were 3 issues 2 of which were easy to fix but the 3rd is weird. The two dependencies I added via the SPM give a "No such module '***'" error. Any ideas anybody?

Yours hopefully, Michael

Watch app does not recognise package dependencies
 
 
Q