f***@126.com
f***@126.com
  • 发布:2017-03-03 10:34
  • 更新:2018-12-05 12:00
  • 阅读:6915

iOS集成5+sdk报错Undefined symbols for architecture x86_64:

分类:5+ SDK

Undefined symbols for architecture x86_64:
"_ERR_error_string", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_ERR_get_error", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
"_OPENSSL_add_all_algorithms_noconf", referenced from:
_baidu_vi::CVSocketMan::InitSocketMan() in BaiduMapAPI_Base(VSocket.o)
"_SSL_CTX_ctrl", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_CTX_free", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
"_SSL_CTX_new", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_connect", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
"_SSL_free", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_get_error", referenced from:
_baidu_vi::CVSocket::Recv(char
, int) in BaiduMapAPI_Base(VSocket.o)
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_get_peer_certificate", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
"_SSL_library_init", referenced from:
_baidu_vi::CVSocketMan::InitSocketMan() in BaiduMapAPI_Base(VSocket.o)
"_SSL_load_error_strings", referenced from:
_baidu_vi::CVSocketMan::InitSocketMan() in BaiduMapAPI_Base(VSocket.o)
"_SSL_new", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_read", referenced from:
_baidu_vi::CVSocket::Recv(char
, int) in BaiduMapAPI_Base(VSocket.o)
"_SSL_set_fd", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_SSL_write", referenced from:
_baidu_vi::CVSocket::Send(char const
, int) in BaiduMapAPI_Base(VSocket.o)
"_SSLv23_client_method", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_X509_NAME_new", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
"_X509_free", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void) in BaiduMapAPI_Base(VSocket.o)
"_X509_get_subject_name", referenced from:
_baidu_vi::CVSocketMan::SocketThreadProc(void
) in BaiduMapAPI_Base(VSocket.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2017-03-03 10:34 负责人:无 分享
已邀请:
骁骑

骁骑

在工程添加如下库文件,并删除高德地图的库文件
libstdc++.6.0.9.dylib
libsqlite3.0.dylib
QuartzCore.framework
CoreGraphics.framework
CoreTelephony.framework
SystemConfiguration.framework
Security.framework
MapKit.framework
OpenGLES.framework
CoreLocation.framework

以下文件在sdk/libs目录下
BaiduMapAPI_Utils.framework
BaiduMapAPI_Base.framework
BaiduMapAPI_Search.framework
BaiduMapAPI_Map.framework
BaiduMapAPI_Location.framework
libbmapimp.a
libBaiduKeyVerify.a
libssl.a
libcrypto.a

lkklh

lkklh

解决了吗

kaiven

kaiven

解决

该问题目前已经被锁定, 无法添加新回复