In a custom framework containing both Objective-C and Swift code, the Swift compiler throws the following error:
[build_pat
In my case, I just built the specific framework with it's scheme. And then rebuild the entire project and it resolved the issue