No such module <product module name> in XCode Unit test
I have a mixed objective-c and Swift project and I try to write Unit tests for it. My project name is: Alphaproject my product module name is: Alphaproject I set to YES Defines Module in my main Target (Alphaproject) and set to YES EnableTestability for Debug only in this same Target. In my Test class, I try to import my product module name: @testable import Alphaproject Additional notes: all my projects files are only part of the main target my test files are only part of the test target My scheme for Test is set to Build Debug configuration. I also tried to clean the Build folder (ALT +