My iOS project name is "A". One of its targets is named "B". This project also has the unit test target. I set B as Host Application
in unit test target and use @testable import B
in swift test files in order to have access to files in target B.
The unit test target also has test files written in objc. One test file written in objc imported A-Swift.h
file. When I start to build the unit test target, the generated A-Swift.h
file has an error that module 'B' not found.
Did anyone face similar issue before? Thanks a lot in advance.