使用我的ios应用程序链接第三方库的错误

时间:2016-08-12 07:19:53

标签: ios xcode

我有一个现有的iOS应用程序,它使用第三方静态库(类似于libThirdParty.a)。在库的新版本中,我收到链接错误。

Undefined symbols for architecture arm64:
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::at(unsigned long) const", referenced from:
      boost::posix_time::time_duration boost::date_time::parse_undelimited_time_duration<boost::posix_time::time_duration>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libThirdParty.a(SomeClass.cpp.obj)
      boost::posix_time::time_duration boost::date_time::parse_undelimited_time_duration<boost::posix_time::time_duration>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libThirdParty.a(SomeClass.cpp.obj)
      boost::posix_time::time_duration boost::date_time::parse_undelimited_time_duration<boost::posix_time::time_duration>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libThirdParty.a(SomeClass.cpp.obj)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::copy(char*, unsigned long, unsigned long) const",   

应用程序和库都是为amrv7和arm64编译的。

我证实了这一点
what libThirdParty.a  

我猜这是缺少一些库依赖性,或者第三方库是使用与我使用的标准库不同编译的。这个假设是正确的,我如何识别缺失的东西?

0 个答案:

没有答案