I'm trying to import my main target into the test target with the new swift @testable import. But I get this error:
I also enabled testability as this post suggests.
I'm trying to import my main target into the test target with the new swift @testable import. But I get this error:
I also enabled testability as this post suggests.
In my case, the problem was with a dot in the project name. The dot must be replaced by an underscore.
Replace . for _