Include dependencies in sharpie binding command

529 Views Asked by At

How to include dependencies in a sharpie binding command? I need to bind a framework made in swift 4 with sdk iphoneos11.4 that includes a reference to another framework to move to a C# app in Xamarin with a native reference(examples: https://learn.microsoft.com/en-us/xamarin/ios/platform/embedded-frameworks?tabs=vsmac |||| https://medium.com/@Flash3001/binding-swift-libraries-xamarin-ios-ff32adbc7c76). Now there is an error like cannot find a module(the another framework), so it creates wrong or incomplete ApiDefinition and Structs classes.

I'm trying to use this command: sharpie bind -sdk iphoneos11.4 NAME-Swift.h.

Also get this error: "Unsupported clang availability platform 'bridgeos'".

Thanks for the answers.

0

There are 0 best solutions below