Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Add Ios native library to my c# visual studio project

$
0
0

Hi Everyone,

I need yours’s help. I created a small Ios library project with a reference to third party library which i wraped it with my function . I build the library as a universal native library as described in the next link:
https://developer.xamarin.com/guides/ios/advanced_topics/native_interop/#Linking_Your_Library
Now I have the next file libpzooz.a (please see attched file)

Now I want to add this native library to my visual studio project (c#) in order to call it’s function but I can’t expose a reference to this library and read it’s function.
I also did everything as mentioned in the next link https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/
But i got stuck in the Sharpie section with the next error: ConstantsInterfaceAssociation (1 instance):
There's no fool-proof way to determine with which Objective-C interface
an extern variable declaration may be associated

Is it a better way to make a reference to a native library from c#?
Can someone help me with it. I really appreciate it!

I attached the Xcode project for the native library and the Xamarin studio which I would like to add my library and call it’s function

Regards,


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>