I am trying to integrate a service into an app for a client. Unfortunately the SDK is a framework written in Swift and only Swift. I have managed to reach out to the developers and they have made the code as Objective-C accessible as possible.
The problem is that I now need to create a binding library for this SDK. I see that there are cases of people in the past that have bound directly to Swift cocoapods (I cant find any about frameworks). I tried to bind to the
xxx-Swift.h header but that just fell apart.
Is there any way that I can bind to this library directly?
If not, I am considering creating an Objective-C framework, adding the Swift framework to that, and then using this wrapper in the binding library.
Surely someone out there has found a way to do this?