libstdc++ is not supported by the tvOS platform?

Just trying to port an iOS project to tvOS and get this error; surely libstdc++ IS supported and I'm makign an error in project setup...?


Check dependencies
warning: libstdc++ is not supported by the tvOS platform; use libc++ instead by changing the CLANG_CXX_LIBRARY build setting.

Accepted Reply

Support for libstdc++ was removed starting in tvOS 9.2, as noted in the tvOS release notes. You need to migrate your C++ code to the libc++ standard library instead.

Replies

Support for libstdc++ was removed starting in tvOS 9.2, as noted in the tvOS release notes. You need to migrate your C++ code to the libc++ standard library instead.

You should take this opportunity to also update your iOS application to use libc++ as well instead of the nearly decade old and deprecated libstdc++.