Importing Swift classes within a Objective-C Framework
- by theMonster
I have a custom Framework that has a bunch of Objective-C Classes. Within the Framework, I'd like to add more classes using Swift. However, when trying to expose the Swift classes to the Objective-C code using: MyProduct-Swift.h, it comes up as "MyProduct-Swift.h file not found".
I've tried this in a single view template and it works fine. Is it not possible to import Swift within a framework?
I've also verified that I have set the Defines Module setting and the Module Name. I've tried it with and without these settings.