Is it possible to import the modulename-Swift.h
file to another .h
file, so that the test target also would compile?
Currently, I was importing the modulename-Swift.h
in the one of the headers of the app's target, however, the test target was not able to compile.
When I moved the import statement to the .m
file instead, I was able to compile both, the app and the tests.
However, I have to resort to a forward protocol declaration in order to resolve this issue - the modulename-Swift.h
file contains a protocol.
So, the question is whether I can import that file in .h
file at all?