I am by no means an expert in C ++, but I had the same problem, and for some trial errors and a lot of Internet searches, I think I was able to solve this.
, , opencv tesseract . opencv lib++, tesseract stdlib++
, , . tesseract , here, build script, .
script ( , , , ) clang++ (CXX="/usr/bin/clang++") lib++ (CXXFLAGS="$CFLAGS -stdlib=libc++"), (albiet with ). , script, , .
iOS ( lib++ ), .
.