Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I'm creating IOS app using xamarin I integerated card.io in my app by adding card.io dll in references Its working fine while debugging If I moved to Adhoc or Appstore it will throw an native linking failed error MT5210.
Card.IO's guide states I need to add -lstdc++ to "other linker flags" in Xcode but I don't know where should I put this in Xamarin Studio's options.
Note: Its working fine in iOs 7.0 and above if I set deployment target as 6.0 it throws an error.
I need help for this.
You can set the Xcode "other linker flags" in Xamarin by setting the "Additional mtouch arguments" field.
You can find "Additional mtouch arguments" field from here : Right click on project => Property => iOS Build.
If you still facing problem please attached sample project and Xamarin build information.
You can fin build information from here:
Xamarin Studio=> About Xamarin Studio => Show Details => Copy Information.
An update to the bug:
Path of "Additional mtouch arguments" field : Right click on project => Property => iOS Build.
I tried that but its not working in iOS 6.0 here I have attached the my xamarin build information.
I need your help to fix this.
=== Xamarin Studio ===
Version 5.1 (build 479)
Installation UUID: e3120e11-f0df-49d2-9b9b-4bf6f08c6485
Mono 3.6.0 ((no/f540f8a)
GTK+ 2.24.23 (Raleigh theme)
Package version: 306000039
=== Apple Developer Tools ===
Xcode 5.0 (3332.25)
=== Xamarin.Mac ===
=== Xamarin.Android ===
Version: 4.12.5 (Business Edition)
Android SDK: /Users/admin/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0.3 (API level 15)
4.4 (API level 19)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Business Edition)
Build date: 2014-07-02 19:39:08-0400
=== Build Information ===
Release ID: 501000479
Git revision: e5a428cec75d4cc7e6e3ccd8192a3660d013e7dc
Build date: 2014-06-26 09:28:17-04
Xamarin addins: 190d93e026e17280e75a3680ef38f2630b9228d3
=== Operating System ===
Mac OS X 10.8.4
Darwin MAC-HUSSAIN.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
again that native linking failed its working fine in iOS7.0 but its not working in iOS6.0
I tried all that you mentioned in previous message. please help me to get sort this out.
@Dinodroid: Thanks for the build information.
Could you please attach your sample project? So that I can reproduce this behavior at our end.
I can confirm the issue if you set the target to 6.0
Card.IO only supports 6.1 and up, still you get the errors if you target 6.1 will investigate more. It seems to be just a binding mistake.
Example of the errors:
"std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
std::__1::vector<unsigned char*, std::__1::allocator<unsigned char*> >::__append(unsigned long) in libCardIO.a(libCardIO.a-armv7-master.o)
Yes, there was a binding mistake, I have fixed this and submitted a new component to the store version 188.8.131.52 it should be live soon, will post here when it is live.
Thanks for reporting this @Dinodroid and thanks @Ram Chandra for helping on the resolution of this issue.
Component including fix is live at https://components.xamarin.com/view/cardioios version must be 184.108.40.206