open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
389 stars 181 forks source link

ios building error #578

Open newOcean opened 2 years ago

newOcean commented 2 years ago

latest ios demo and native compiled framework by myself.

Undefined symbols for architecture arm64: "_SSL_ctrl", referenced from: asio::ssl::detail::engine::engine(ssl_ctx_st) in arm64_libsioclient_tls.a(sio_client_impl.cpp.o) websocketpp::transport::asio::tls_socket::connection::pre_init(std::1::function<void (std::1::error_code const&)>) in arm64_libsioclient_tls.a(sio_client_impl.cpp.o) "_SSL_CTX_ctrl", referenced from: asio::ssl::context::context(asio::ssl::context_base::method) in arm64_libsioclient_tls.a(sio_client_impl.cpp.o) "_CONF_modules_unload", referenced from: asio::ssl::detail::openssl_init_base::instance() in arm64_libsioclient_tls.a(sio_client.cpp.o) std::1::shared_ptr_pointer<asio::ssl::detail::openssl_init_base::do_init, std::1::shared_ptr::shared_ptr_default_delete<asio::ssl::detail::openssl_init_base::do_init, asio::ssl::detail::openssl_init_base::do_init>, std::1::allocator >::on_zero_shared() in arm64_libsioclient_tls.a(sio_client.cpp.o) asio::ssl::detail::openssl_init_base::instance() in arm64_libsioclient_tls.a(sio_socket.cpp.o) std::1::__shared_ptr_pointer<asio::ssl::detail::openssl_init_base::do_init*, std::1::shared_ptr::shared_ptr_default_delete<asio::ssl::detail::openssl_init_base::do_init, asio::ssl::detail::openssl_init_base::do_init>, std::__1::allocator >::on_zero_shared() in arm64_libsioclient_tls.a(sio_socket.cpp.o) asio::ssl::detail::openssl_init_base::instance() in arm64_libsioclient_tls.a(sio_client_impl.cpp.o) std::1::shared_ptr_pointer<asio::ssl::detail::openssl_init_base::do_init*, std::1::shared_ptr::shared_ptr_default_delete<asio::ssl::detail::openssl_init_base::do_init, asio::ssl::detail::openssl_init_base::do_init>, std::__1::allocator >::__on_zero_shared() in arm64_libsioclient_tls.a(sio_client_impl.cpp.o) ld: symbol(s) not found for architecture arm64

jianjunz commented 2 years ago

It looks like some symbols don't exist in your OpenSSL library.