After converting .a file using lipo , ApiDefinition.cs which is generated contains all interfaces(NSObject , NSDateFormatter , UIViewController) of Ios Foundation which are displaying error. Moreover, few classes which have been removed from Xcode project are also getting displayed in ApiDefinition.cs. Cleared Derived Data , Build folder but still extra files are not getting removed from ApiDefinition generated.
Above all getting error of "BaseTypeAttribute not found in a binding project".
Can anyone guide me on this.
Answers
To produce a complete binding, try to deal with four components:
Check the tutorial:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/objective-c-libraries?context=xamarin/ios&tabs=windows#binding-an-api
How to reference the binding types, you could refer to the following doc:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/binding/binding-types-reference?context=xamarin/ios