I'm trying to bind a native Objective-C SDK to my Xamarin project. I follow this tutoriel : Walkthrough: Binding an iOS Objective-C Library
Everything work till : Using Objective Sharpie. I generated the ApiDefinition and Strucs files but in my ApiDefinition, some class needs protocols.
// @interface BIOEvent : NSObject <BIODiagnosticEvent>
[BaseType(typeof(NSObject))]
interface BIOEvent : IBIODiagnosticEvent
{
// -(instancetype _Nonnull)initWithType:(BIOEventType)type;
[Export("initWithType:")]
IntPtr Constructor(BIOEventType type);
}
For example here, the file doesn't found "IBIODiagnosticEvent". I have the impression that Sharpie didn't bind some headers files. Files which are @protocol
Could you help me please ? Thanks.