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
384 stars 180 forks source link

ios The owt.framework reference fails #743

Open LaoWangInNear opened 5 months ago

LaoWangInNear commented 5 months ago

When I introduced the owt.framework into the project, an error was reported

ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found ld: Undefined symbols: sio::client::set_fail_listener(std::1::function<void ()> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::__1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 sio::client::set_open_listener(std::1::function<void ()> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 sio::client::set_reconnect_delay(unsigned int), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::__1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 sio::client::set_reconnect_attempts(int), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::OnNotificationFromServer(std::__1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::shared_ptr const&) in OWT36 sio::client::set_reconnecting_listener(std::1::function<void ()> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::__1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 sio::client::set_socket_close_listener(std::1::function<void (std::__1::basic_string<char, std::1::char_traits, std::1::allocator> const&)> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::__1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 sio::client::close(), referenced from: l054 in OWT36 l054 in OWT36 l068 in OWT36 sio::client::socket(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Connect(std::__1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Emit(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, sio::message::list const&, std::1::function<void (sio::message::list const&)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 l278 in OWT36 sio::client::connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 sio::client::client(), referenced from: owt::conference::ConferenceSocketSignalingChannel::ConferenceSocketSignalingChannel() in OWT36 sio::client::~client(), referenced from: owt::conference::ConferenceSocketSignalingChannel::~ConferenceSocketSignalingChannel() in OWT36 sio::socket::on(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, std::1::function<void (std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::shared_ptr const&, bool, sio::message::list&)> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::__1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Connect(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, std::1::function<void (std::__1::shared_ptr)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 sio::socket::emit(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, sio::message::list const&, std::1::function<void (sio::message::list const&)> const&), referenced from: owt::conference::ConferenceSocketSignalingChannel::Disconnect(std::1::function<void ()>, std::1::function<void (std::__1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Emit(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, sio::message::list const&, std::1::function<void (sio::message::list const&)>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::__1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::RefreshReconnectionTicket() in OWT36 l037 in OWT36 sio::client::opened() const, referenced from: owt::conference::ConferenceSocketSignalingChannel::Disconnect(std::1::function<void ()>, std::1::function<void (std::1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36 owt::conference::ConferenceSocketSignalingChannel::Disconnect(std::1::function<void ()>, std::1::function<void (std::__1::unique_ptr<owt::base::Exception, std::1::default_delete>)>) in OWT36

What should I do,please help me