Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86_64 的架构支持了吗? #13

Open
KlausLiu opened this issue Jun 14, 2021 · 4 comments
Open

x86_64 的架构支持了吗? #13

KlausLiu opened this issue Jun 14, 2021 · 4 comments

Comments

@KlausLiu
Copy link

KlausLiu commented Jun 14, 2021

lipo -info

SDK/TXLiteAVSDK_Professional.framework/TXLiteAVSDK_Professional are: armv7 x86_64 arm64

但在模拟器上 build 时,报错

Undefined symbols for architecture x86_64:
  "media_transport::RTCPeerConnection::setSessionDescriptionDelegate(std::__1::weak_ptr<media_transport::RTCSessionDescriptionDelegate>)", referenced from:
      liteav::lebnetwork::SessionDescriptionExchange::CreateOffer() in TXLiteAVSDK_Professional(session_description_exchange.o)
  "media_transport::RTCPeerConnection::getStats()", referenced from:
      std::__1::__function::__func<liteav::lebnetwork::LEBConnectionImpl::GetStats()::$_3, std::__1::allocator<liteav::lebnetwork::LEBConnectionImpl::GetStats()::$_3>, void ()>::operator()() in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCRtpReceiver::setDelegate(std::__1::weak_ptr<media_transport::RTCRtpReceiverDelegate>)", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::onAddReceiver(media_transport::RTCPeerConnection*, std::__1::shared_ptr<media_transport::RTCRtpReceiver>) in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCRtpReceiver::setSink(std::__1::weak_ptr<media_transport::RtpPacketSinkInterface>)", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::onAddReceiver(media_transport::RTCPeerConnection*, std::__1::shared_ptr<media_transport::RTCRtpReceiver>) in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCPeerConnection::closePeerConnection()", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::StopPeerConnection() in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCRtpReceiver::getMediaType()", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::onAddReceiver(media_transport::RTCPeerConnection*, std::__1::shared_ptr<media_transport::RTCRtpReceiver>) in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCPeerConnection::setConfiguration(media_transport::RTCConfiguration&)", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::StartPeerConnection() in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCError::set_error_code_ex(int, int)", referenced from:
      liteav::lebnetwork::RTCErrorToError(media_transport::RTCError const&) in TXLiteAVSDK_Professional(internal_defines.o)
  "media_transport::RTCFileLogger::getInstance(char const*, unsigned int)", referenced from:
      liteav::lebnetwork::LEBConnection::Initialize(liteav::lebnetwork::LEBConnection::LogObserver*, liteav::lebnetwork::LogLevel) in TXLiteAVSDK_Professional(leb_connection.o)
      liteav::lebnetwork::LEBConnection::Uninitialize() in TXLiteAVSDK_Professional(leb_connection.o)
  "media_transport::RTCError::error_code_ex() const", referenced from:
      liteav::lebnetwork::RTCErrorToError(media_transport::RTCError const&) in TXLiteAVSDK_Professional(internal_defines.o)
  "media_transport::RtpMetaData::getByteMetaData() const", referenced from:
      liteav::lebnetwork::MetadataChannelReceiver::OnRtpMetaDataPacket(media_transport::RtpMetaData const&, media_transport::RTCRtpMediaType) in TXLiteAVSDK_Professional(metadata_channel_receiver.o)
  "media_transport::RTCError::error_code() const", referenced from:
      liteav::TXLEBNetworkClient::OnError(liteav::lebnetwork::Error const&) in TXLiteAVSDK_Professional(TXLEBPipeline.o)
      liteav::lebnetwork::RTCErrorToError(media_transport::RTCError const&) in TXLiteAVSDK_Professional(internal_defines.o)
  "media_transport::RTCError::message() const", referenced from:
      liteav::TXLEBNetworkClient::OnError(liteav::lebnetwork::Error const&) in TXLiteAVSDK_Professional(TXLEBPipeline.o)
      liteav::lebnetwork::RTCErrorToError(media_transport::RTCError const&) in TXLiteAVSDK_Professional(internal_defines.o)
      liteav::lebnetwork::SessionDescriptionExchange::onCreateSessionDescription(media_transport::RTCPeerConnection*, media_transport::RTCSessionDescription const*, media_transport::RTCError const*, void*) in TXLiteAVSDK_Professional(session_description_exchange.o)
      liteav::lebnetwork::SessionDescriptionExchange::onCompletion(media_transport::RTCPeerConnection*, media_transport::RTCError const*, void*) in TXLiteAVSDK_Professional(session_description_exchange.o)
  "media_transport::RTCError::set_message(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
      liteav::lebnetwork::RTCErrorToError(media_transport::RTCError const&) in TXLiteAVSDK_Professional(internal_defines.o)
  "media_transport::RTCPeerConnection::setDelegate(std::__1::weak_ptr<media_transport::RTCPeerConnectionDelegate>)", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::StartPeerConnection() in TXLiteAVSDK_Professional(leb_connection_impl.o)
  "media_transport::RTCPeerConnection::createOfferInternal()", referenced from:
      liteav::lebnetwork::SessionDescriptionExchange::CreateOffer() in TXLiteAVSDK_Professional(session_description_exchange.o)
  "media_transport::RTCPeerConnection::stopPeerConnection()", referenced from:
      liteav::lebnetwork::LEBConnectionImpl::StopPeerConnection() in TXLiteAVSDK_Professional(leb_connection_impl.o)
ld: symbol(s) not found for architecture x86_64

Xcode: Version 12.5 (12E262)

@Tencent-Alice
Copy link

您好,根据您的问题,已支持x86_64 ,请知悉
https://github.com/tencentyun/LiteAVProfessional_iOS 建议用真机进行测试
技术问题 欢迎交流 q2562367495 注明来意

@KlausLiu
Copy link
Author

@Tencent-Alice
真机开发没问题,但接入 8.7 的版本后,模拟器编译就会报如上错误,希望能在模拟器上编译成功,这样其他的业务可以在模拟器上 debug

@Vanson
Copy link

Vanson commented Jun 17, 2021

一样的问题,支持一下模拟器啊

@Vanson
Copy link

Vanson commented Jun 17, 2021

TXLiteAVSDK_Professional (8.7.10102)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants