Using Xamarin Libraries in Swift or Java android projects
I recommend you to use java/objective c library. Xamarin is built based on the platform code, so what you use in forms you can always find in each platforms(ios/android/uwp).
As for your question, I am afraid this can not be done.here is a related question for you to check Use a Xamarin library in native iOS/Android apps
Xamarin Forms binding Swift and Android libs
For Android
Binding Java libraries: https://docs.microsoft.com/en-us/xamarin/android/platform/binding-java-library/.
Binding Kotlin libraries: https://docs.microsoft.com/en-us/xamarin/android/platform/binding-kotlin-library/
For iOS
Binding Objective-C libraries : https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/
Binding Swift libraries : https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-swift/
Using an Objective C framework, which is inside a Swift framework, in a Xamarin iOS project
In such a case, you can find the real reason by going to
Settings -> Privacy -> Analytics -> Analytics Data -> And find the log
file with your bundle ID and the crashed occur date/time.
The error show to me was related to @rpath/ but actually it solved after signing the bundle with a valid provisioning profile.
For those who are interesting, you can visit here to find out my experience of implementing this whole scenario mentioned in the title.
Related Topics
Expression Implicitly Coerced from 'String' to Any
How to Use Objective-C Enum in Swift
Po Swift String "Unresolved Identifier"
Delete All Characters After a Certain Character from a String in Swift
Difference Between Awakefromnib() and Viewdidload() in Swift
How to Code Initwithcoder in Swift
Convert Opengl Shader to Metal (Swift) to Be Used in Cifilter
Swiftui Navigation on iPad - How to Show Master List
How to Get Data from Observedobject with Onreceive in Swiftui
Swift: How to Access in Appdelegate Variable from the View Controller
Sum Values of Properties Inside Array of Custom Objects Using Reduce
(Swift) Nstimer Stop When Scrolling
Swift Realm, Load the Pre-Populated Database the Right Way