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

Trouble create binding for Google Analytics SDK

$
0
0

As it says on the tin, I've been having some trouble getting a binding working for the Google Analytics SDK 3.01. I've followed the step by step guide on the Xamarin Docs (skipping the first step of "create a fat library" as the *.a file provided in the SDK already has the required architectures) and I've got a binding project that compiles. I can reference the dll output from this project and write all the required code no problem. However, when I try to deploy it to a device I encounter the following:

Native linking failed. Please review the build log

Which contains:

Undefined symbols for architecture armv7: "_NSOverwriteMergePolicy", referenced from: +[TAGModel contextWithURL:] in libGoogleAnalyticsServices.a(TAGModel.o) -[GAIDataStore contextWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o) +[TAGModel contextWithURL:] in libGoogleAnalyticsServices.a(TAGModel.o) -[GAIDataStore contextWithModel:URL:] in libGoogleAnalyticsServices.a(GAIDataStore.o)

And a whole lot more stuff of a similar nature.

I've done a bit of searching and tried various things that have been suggested (adding -cxx to the application's monotouch arguments, ran "xcrun -sdk iphoneos lipo -info libGoogleAnalyticsServices.a" to double-check that it is indeed a fat file) but nothing has progressed me past this point. I'm a little out of my depth here so any help, even if it's just explaining exactly what that error means (it's seems to be missing some library or something but what?), would be greatly appreciated.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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