Xcode C++ Library

Is it possible to have Xcode use libstdc++ as the c++ library instead of the default one?

I have tried putting CLANG_CXX_LIBRARY = libstdc++ in Custom Xcode flags, but this corrupts the generated Xcode project. Also, there is no option in the C++ library popup in Introjuicer corresponding to this? (It says "Use Default" or  "Use LLVM libc++", which is the Xcode default.

Any ideas? Thanks (from a Juce newbie)

If you target 10.6 or lower the "Use Default" will be "libstdc++".

Is there any reason you don't want to use "libc++" though? You won't be able to use a lot of C++11 without it and it has some nice performance/size improvments over "libstdc++".

The reason is that I'm adding 3rd party code to my project that is not compatible (yet) with libc++, so I need to be able to specify libc++.

Since this commit you should be able to do so: (22.05)