Xcode 10
при сборке проекта под Xcode 10 возникают ошибки:
Undefined symbols for architecture arm64:
“std::string::_Rep::_M_destroy(std::allocator<char> const&)“, referenced from:
rutoken_unique_get(void*, void*) in RDRRtSupCp(unique_get.o)
rutoken_unregister(void*, void*) in RDRRtSupCp(unregister.o)
rutoken_context_free(void*, void*) in RDRRtSupCp(context.o)
rutoken_same_media(void*, void*) in RDRRtSupCp(same_media.o)
“std::string::_Rep::_S_empty_rep_storage”, referenced from:
RegisterContext(TruTokenContext_**, int) in RDRRtSupCp(register.o)
rutoken_register(void*, void*) in RDRRtSupCp(register.o)
rutoken_register_ecp(void*, void*) in RDRRtSupCp(register.o)
rutoken_register_ecp_st23(void*, void*) in RDRRtSupCp(register.o)
rutoken_register_lt(void*, void*) in RDRRtSupCp(register.o)
rutoken_register_lt_st23(void*, void*) in RDRRtSupCp(register.o)
rutoken_register_acos3(void*, void*) in RDRRtSupCp(register.o)
...
“std::string::append(char const*, unsigned long)“, referenced from:
rt_unique_form_ex(int, std::string&, unsigned char*) in RDRRtSupCp(unique_get.o)
“std::string::assign(char const*, unsigned long)“, referenced from:
rt_unique_form_ex(int, std::string&, unsigned char*) in RDRRtSupCp(unique_get.o)
rutoken_login(void*, void*) in RDRRtSupCp(login.o)
rutoken_passwd_change(void*, void*) in RDRRtSupCp(passwd_change.o)
“std::string::_M_mutate(unsigned long, unsigned long, unsigned long)“, referenced from:
rutoken_folder_clear(void*, void*) in RDRRtSupCp(folder_clear.o)
rutoken_login(void*, void*) in RDRRtSupCp(login.o)
rutoken_logout(void*, void*) in RDRRtSupCp(logout.o)
rutoken_context_free(void*, void*) in RDRRtSupCp(context.o)
“std::__throw_length_error(char const*)“, referenced from:
std::vector<unsigned char, std::allocator<unsigned char> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned char const&) in RDRRtSupCp(APDU_CMDs.o)
std::vector<unsigned char, std::allocator<unsigned char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned long, unsigned char const&) in RDRRtSupCp(connect_carrier.o)
std::vector<unsigned char, std::allocator<unsigned char> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char, std::allocator<unsigned char> > >, unsigned char const&) in RDRRtSupCp(connect_carrier.o)
похоже RDRRtSupCp собрана с stdlibc++
можно пересобрать с libc++?