I try to add test-cases to my swift-project.

When I add the test-Target to the Class-Target-Membership a lot of errors appear. e.g.:
Use of undeclared type 'TYPE'
Use of unresolved identifier 'IDENTIFIER'
'MyClass.Type' does not have a member named 'myFunc'
I thought maybe it has something to do with the access control but by default everything should be internal and also available in all of my Targets. I know this are not much information but I hope anyone of you can just tell me that I overviewed something.