OpenTok(iOS)v2.4.0(64位)-体系结构armv7的未定义符号

Digitrance

我正在尝试升级到最新版本的OpenTok iOS SDK。但是,我不断收到大量的链接错误,如下所示。似乎此最新版本不支持armv7。

Undefined symbols for architecture armv7:
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(short)", referenced from:
webrtc::NetEqImpl::DecodeLoop(std::__1::list<webrtc::Packet*, std::__1::allocator<webrtc::Packet*> >*, webrtc::Operations*, webrtc::AudioDecoder*, int*, webrtc::AudioDecoder::SpeechType*) in OpenTok(neteq.neteq_impl.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >* rtc::MakeCheckOpString<int, short>(int const&, short const&, char const*) in OpenTok(neteq.audio_decoder_impl.o)
"void std::__1::__sort<std::__1::__less<unsigned char, unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, std::__1::__less<unsigned char, unsigned char>&)", referenced from:
webrtc::Sort(void*, unsigned int, webrtc::Type) in OpenTok(system_wrappers.sort.o)
void boost::detail::spread_sort_rec<unsigned char*, int, unsigned char>(unsigned char*, unsigned char*, std::__1::vector<unsigned char*, std::__1::allocator<unsigned char*> >&, unsigned int, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >&) in OpenTok(system_wrappers.sort.o)
"void std::__1::__sort<std::__1::__less<unsigned short, unsigned short>&, unsigned short*>(unsigned short*, unsigned short*, std::__1::__less<unsigned short, unsigned short>&)", referenced from:
webrtc::Sort(void*, unsigned int, webrtc::Type) in OpenTok(system_wrappers.sort.o)
void boost::detail::spread_sort_rec<unsigned short*, int, unsigned short>(unsigned short*, unsigned short*, std::__1::vector<unsigned short*, std::__1::allocator<unsigned short*> >&, unsigned int, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >&) in OpenTok(system_wrappers.sort.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(unsigned long, char)", referenced from:
rtc::HttpParseAttributes(char const*, unsigned long, std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >&) in OpenTok(rtc_base.httpcommon.o)
"std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(unsigned long long)", referenced from:
webrtc::WebRtcSession::WebRtcSession(cricket::ChannelManager*, rtc::Thread*, rtc::Thread*, cricket::PortAllocator*, webrtc::MediaStreamSignaling*) in OpenTok(libjingle_peerconnection.webrtcsession.o)
cricket::Connection::ToString() const in OpenTok(rtc_p2p.port.o)
webrtc::WebRtcSessionDescriptionFactory::InternalCreateOffer(webrtc::CreateSessionDescriptionRequest) in OpenTok(libjingle_peerconnection.webrtcsessiondescriptionfactory.o)
webrtc::WebRtcSessionDescriptionFactory::InternalCreateAnswer(webrtc::CreateSessionDescriptionRequest) in OpenTok(libjingle_peerconnection.webrtcsessiondescriptionfactory.o)

但是,lipo命令确认该框架确实支持armv7和arm64体系结构:

$> lipo -info OpenTok.framework/OpenTok
Architectures in the fat file: OpenTok.framework/OpenTok are: armv7 armv7s i386 x86_64 arm64

我尽力了,任何帮助将不胜感激。

谢谢!

Digitrance

好吧,这要归功于OpenTok支持团队的迅速响应!我也在他们的支持论坛上发布了相同的问题。https://forums.tokbox.com/post55977

这是对我有用的解决方案(上述链接的详细内容)

What are your Build settings? armv7 is supported.

also make sure that you have added the new lib/frameworks as follows:

- Add VideoToolbox.framework.
- Remove libstdc++ and add libc++
- add GLKit.framework (if not there previously)

我的框架列表中缺少上述几个文件。我附上完整列表的屏幕截图,以防万一其他人遇到同一问题。

我为此浪费了将近6个小时!:(

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

cgo:体系结构x86_64的未定义符号

体系结构arm64的未定义符号-JSClassCreate

Swift测试给出错误“体系结构x86_64的未定义符号”

Firebase体系结构x86_64的未定义符号

体系结构arm64的未定义符号

Xcode构建失败“体系结构x86_64的未定义符号”

在iOS应用中链接静态库后,体系结构arm64的未定义符号

体系结构x86_64的未定义符号-小牛(Yosemite,El Capitan ...)

体系结构arm64的未定义符号-Cocoa Pods

ZBar:体系结构armv7的未定义符号

体系结构x86_64(c)的未定义符号

Mac OS上体系结构x86_64的未定义符号

体系结构arm64“ _OBJC_CLASS _ $ _ SFSafariViewController”的未定义符号

IOS 11 XCODE 9:存档错误体系结构arm64的未定义符号:

RxTest:体系结构x86_64和arm64的未定义符号

体系结构arm64的未定义符号:“ _ OBJC_CLASS _ $ _ RadioUIButton”

SDL 2(macOS)中的“体系结构x86_64的未定义符号”

在Libgdx ios模块中实现Firebase消息传递时,体系结构x86_64的未定义符号

使用objc_setAssociatedObject时,体系结构armv7的未定义符号

osx-体系结构x86_64的boost和python未定义符号

体系结构x86_64的未定义符号

在测试中迅速发挥作用的“体系结构arm64的未定义符号:”

Braintree iOS SDK与Card I / O iOS SDK之间的冲突:体系结构armv7的重复符号

j2objc编译错误:体系结构arm64的未定义符号:

Xcode上体系结构x86_64错误的未定义符号

Mac错误:体系结构x86_64的未定义符号

Unity 4.6.6 Xcode'armv7 / arm64体系结构的未定义符号'链接器错误

MacOSX共享库:体系结构x86_64的未定义符号

继承时体系结构x86_64的未定义符号