Linking against libstdc++ in iOS7


#1

As of iOS7, Apple are no longer supporting libstdc++. They would like people to adopt libc++ (which comes with llvm/clang) instead. Our code is compiled against libstdc++, so we shall need to migrate. We haven’t had a chance to do this yet, so as an interim measure to get your code up and running, you have a couple of options. If you require a deployment target of 7.0, we recommend that you link against libstdc++.6.0.9. This links correctly, and should allow your app to build. If you are fine to use a deployment target of 6.1 or below, then set this in your project settings, and it will link fine against libstdc++. 

In the next version of ShinobiCharts, which is being released in a few weeks, we shall have migrated over to using libc++, so you will be able to get rid of this interim workaround.

As some of you have pointed out, the documentation in some of the older versions of ShinobiCharts instructs you to use libstdc++ rather than libstdc++.6.0.9. This was corrected in version 2.5.6 of the framework, but some of you may be using older versions.


#2

Please note that to address the underlying issue of Apple no longer supporting libstdc++, as of version 2.5.7 of the charts we now link against libc++ instead.