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 + Clean)
- The project doesn't have any error when compiling or trying to run tests except this "No such module Alphaproject"
Any other ideas?