1

I'm trying to import my main target into the test target with the new swift @testable import. But I get this error:

enter image description here

I also enabled testability as this post suggests.

enter image description here

Hemant Solanki
  • 894
  • 10
  • 24
Godfather
  • 4,040
  • 6
  • 43
  • 70

1 Answers1

0

In my case, the problem was with a dot in the project name. The dot must be replaced by an underscore.

Replace . for _

Laky
  • 171
  • 1
  • 9