I have created binding library successfully, it is initialized properly in Xamarin.iOS app, but at specific point, the app is crashing.
I tried to implement the same on XCode, it is crashing also, but the issue has been fixed by enabling the option Embedded content contains Swift Code
= true
as per this answer.
So How to enable same option in Xamarin?
The use of Swift frameworks and inclusion of the Swift support libs are not officially supported in the Xamarin build process and thus you have to manually bundle the relevant Swift support libraries into your
Xamarin.iOS
app.Note: You have to make sure you include the correct version of those libraries.
User
Flash3001
on Github has created Nugets/packages for the Swift frameworksSwift 4
Libraries:
Swift 3