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

Native linking failing while trying to integrate Card.io SDK

$
0
0

Hi all, I'm working on a Xamarin.iOS 6.1 app which I'm now attempting to integrate the Card.io SDK with. They provide the header files as well as the static library, which I have used in the binding project for use inside Xamarin. The ApiDefinition.cs file and linkwith.cs file I'm using from this Stack Overflow question: http://stackoverflow.com/questions/16779467/card-io-binding-project-fails-app-compilation

Very similarly to the question, building the binding project is fine but when I attempt to build my actual app, I get the following errors in the compiler output:

ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

error MT5202: Native linking failed. Please review the build log.

I followed the instructions in the answer and added the additional -cxx -gcc_flags "-lstdc++" arguments in the iOS Build section of the app. However, after doing so, the error is replaced by a similar one:

ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

error MT5201: Native linking failed. Please review user flags provided to gcc: "-lstdc++"

At this point I'm not too sure what to do, since I'm pretty new to the linker behavior of MonoTouch. Does anybody have any advice? I would greatly appreciate it!


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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