I added a new Test target to my Xcode project. My project has Swift code and Objective-C code, and has a bridging header. Upon either adding the bridging header to UnitTesti
I faced the same problem. I did the following and the issue of 'Failed to import bridging header' is solved.
Steps:
Reference: Refer this link.