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.
In binding Objective-C library, there are linking libstdc++ error in building process, even if compiling with -lstdc++.
Build log and project which cause error is attached.
They are tar zipped, build log's filename is Binding_Error.txt
Version 4.2.2 (build 2)
Mono 3.2.5 ((no/964e8f0)
GTK+ 2.24.20 theme: Raleigh
Package version: 302050000
Mac OS X 10.8.5
Created attachment 5662 [details]
Error causing project is too big to attach, so I put it on external drive.
Created attachment 5663 [details]
How did you build the native library? Or did you download it from somewhere?
I make a dependency tree of SpatialDBKit (https://github.com/andreacremaschi/SpatialDBKit) by Cocoapod, and take a compiled binary from Xcode's derived data folder.
The binary works well if I put it in Xcode's project, so I think this binary is valid..
Is there any problems in the binary?
I did the following:
* Created a new Empty Application in Xcode 5.
* Added a Podfile:
platform :ios, '5.0'
* Ran: 'pod install'
* Closed Xcode.
* Reopened myproject.xcworkspace in Xcode (as indicated by 'pod install').
First I got a few compiler errors complaining about isnan, when those were fixed I got a lot of linker errors identical to the ones in the Xamarin.iOS project: https://gist.github.com/rolfbjarne/1745bc4f16bb34bb3033
Could you give exact instructions on how to create an Xcode project that builds?
Sorry for my poorness of English, I can't understand your pointing out, so please allow me to ask:
This errors shown in Xcode? or Xamarin?
If shown in Xamarin, it is my reported issue itself.
If shown in Xcode, such condition is not occured in my environment, so I try it again and tell you the way.
Yes, that error is in Xcode.
I reconstructed Xcode project again, and confirmed these error.
I tried to resolve them, and after changing some settings, they were solved.
1: Changing Podfile's SDK version from 5.0 to 7.0.
platform :ios, '7.0'
2: All of targets' (Not only Application but also Pods, Pods-sqlite3, Pods-geos, .... and so on)
"Apple LLVM 5.0 - Language - C++ / C++ Standard Library" setting change to
3: All of targets' (same above, application, Pods, Pods-xxxx...) Architectures
change from "armv7, armv7s, arm64" to "armv7, armv7s".
After doing them, all errors vanished both simulator and device builds.
These changes contain not only application settings but also libraries',
so may errors in Xamarin are also same cause.
I'll try to check it.
I checked and binding compile passed.
Sorry, this issue maybe libraries compile error.
I might have mistaken in checking library to work in Xcode..
I'm closing this bug then.
If it happens again in the future, just reopen the bug.