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

Xamarin.iOS - native c++ library and visual studio?

$
0
0

Hi,

Here is a problem I ran into and a solution I am investigating.

Problem:

Xamarin.iOS app in Visual Studio and a native C++ static library (could be dynamic). Right now I have a seperate XCode project for the lib and I bring it into VS as per:

https://developer.xamarin.com/guides/ios/advanced_topics/native_interop/

This is not ideal... As with Xamarin.Android and windows phone apps, my cross platform c++ lib is right there in VS, all in one place and also easy to debug. Not the case for my Xamarin.iOS project.

Possible solution??:

VS has generic native C++ cross platform lib project that if you use their templates for cross platform apps geta build remotely copied back to VS and also debuggale with vs debugger.
I tried using that cross platform c++ lib template and import it to Xamarin.iOS but no go, not allowed. But this would be pretty great.

So what do you think, is this a valid approach? I want to achieve:
- better code organization (native lib right there in my xamarin solution)
- easier build process - lib built remotely and copied back to the project that references it
- most important to me - vs debugger for debugging

Or am I completely wrong and going down a blind alley here?

Thanks!

Andrzej


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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