I'm trying to binding this iOS native to Xamarin.iOS library.
this is what I've done so far.
I created embedded framework from this (**SWIFT LIBRARY) : https://github.com/NordicSemiconductor/IOS-DFU-Library
I created Xamarin library with that framework and bind it to CSharp.(Wrapping)
I success to build Xamarin library.
getting runtime Error :
Could not create an native instance of the type 'nRF5xDFULibrary_Xamarin_iOS.DFUServiceInitiator': the native class
hasn't been loaded. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.
Now, I ran into this thread : https://forums.xamarin.com/discussion/63657/binding-swift-code
Our existing binding tools do not work with Swift. If you have a way to bring this into Obj-c headers, then tooling like Objective Sharpie can consume it and create a binding definition. However, we don't currently support using a Swift library, so your mileage may vary.
I'm getting error because it's a framework made by Swift? If so, I'm really screwed.
Can you give me any advice?