For me changing the resources part in the Package.swift of the affected module from ".copy()" to ".process()" solved it.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: