This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Xamarin DFU Library

We have been trying to create a binding library for Xamarin based on the DFU library at: https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library

So, far, we were able to extract and build the library using Carthage, but in order to use it in in a binding library for iOS, the ApiDefinition.h and struct.h files must be generated.
For that I used sharpie:

     sharpie bind -sdk iphoneos11.3 iOSDFULibrary.framework/headers/iOSDFULibrary-Swift.h

The files generated by that command (attached) are huge and have tons of errors.
Do you know of any other method to create the iOS binding library for Xamarin?

Thanks.

ApiDefinition.csStructs.cs

Related