In Swift there’s a message in “Test Target” that states that the bridging header will be removed in newer versions of swift.
@testable import YourProject
You fix it by adding
#import "Project-Bridging-Header.h"
inside ProjectTests-Bridging-Header and deleting the @testable inside your test
@testable import YourProject