I am compiling our multiplatform c++ code for inclusion in apps on iOS.
When I run the build (through cmake with an appropriate ios toolchain), an error is reported saying it cannot find std::to_string
I have iOS sdk 14,2 installed with XCode 12.2
As this is a standard part of C++11 and my compile options indicate that I need this : -std=c++11 -stdlib=libc++
, I expected no problems.
Is this missing from the apple c++11 implementation ?
Is there something I have missed ?