My project uses for both Objective C and Swift (primarily Objcective C).
Importing HomeViewController.h in a test class, HomeViewController imports MyProject-Swift.h to access the swift files.
The build fails whenever I run the tests. The main target is running fine.