自分でコンパイルしたライブラリを iOS アプリで使用しようとしています。ライブラリは Tesseract OCR ライブラリです。それ(およびその依存関係)のコンパイルはうまくいったようです。
ただし、アプリ プロジェクトでこの lib にリンクしようとすると、アプリはリンクに失敗します。リンク エラーには驚かされます。かなり標準的なC++のものを見つけるTesseractのものに問題があるようです。
私が間違っているかもしれないことについての提案は最も役に立ちます。
これは、私が見ている種類のリンク エラーのスニペットです。
Undefined symbols for architecture armv7:
"std::string::find_last_of(char const*, unsigned long) const", referenced from:
tesseract::WordSizeModel::Init(std::string const&, std::string const&) in libtesseract.a(word_size_model.o)
"std::string::find_first_of(std::string const&, unsigned long) const", referenced from:
tesseract::CubeUtils::SplitStringUsing(std::string const&, std::string const&, std::vector<std::string, std::allocator<std::string> >*) in libtesseract.a(cube_utils.o)
"std::string::find_first_not_of(std::string const&, unsigned long) const", referenced from:
tesseract::CubeUtils::SplitStringUsing(std::string const&, std::string const&, std::vector<std::string, std::allocator<std::string> >*) in libtesseract.a(cube_utils.o)
"std::string::data() const", referenced from:
tesseract::CubeUtils::SplitStringUsing(std::string const&, std::string const&, std::vector<std::string, std::allocator<std::string> >*) in libtesseract.a(cube_utils.o)
"std::string::find(char, unsigned long) const", referenced from:
tesseract::TessLangModel::IsLeadingPunc(int) in libtesseract.a(tess_lang_model.o)