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
  • 868
  • 10
  • 23
Godfather
  • 3,686
  • 5
  • 35
  • 64

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
  • 172
  • 1
  • 9