For me changing the resources part in the Package.swift of the affected module from ".copy()" to ".process()" solved it.
Post
Replies
Boosts
Views
Activity
For me only the following helped: Deleting all xcuserdata folders inside the project and workspace bundles.