ios - MobileVlcKit 编译失败

标签 ios ffmpeg vlc broadcast libvlc

嗨,我正在尝试使用 MobileVLCKit。为此,我正在使用如下 cocoa 垫
pods 'MobileVLCKit'

pod 'MobileVLCKit'

然后我编译我的项目它显示了很多错误下面是我的错误日志
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

"std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:
  TagLib::String::find(TagLib::String const&, int) const in MobileVLCKit(tstring.cpp.o)
  TagLib::String::split(TagLib::String const&) const in MobileVLCKit(tstring.cpp.o)

  dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)

我尝试使用架构 x86_64 但仍然显示很多错误。我不知道如何清除这些错误。所以任何人都可以帮助我

最佳答案

当前可通过 Cocoapods 获得的 MobileVLCKit (2.2.2) 稳定版本需要 iOS 6.1 的 libstdc++ 运行时环境来提供向后兼容性。要解决这些错误,您需要设置将 MobileVLCKit 链接到 iOS 6.1 的目标的部署版本。

MobileVLCKit (3.0.0) 的下一个主要版本将需要 iOS 7 并使用现代 libc++,因此该问题将不再出现。或者,使用 pod“MobileVLCKit-prod”(版本 2.7.2),这是我们自己用来发布 VLC-iOS 的生产版本。

关于ios - MobileVlcKit 编译失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35606960/

相关文章:

ios - iPhone 4 和 iPhone 5 之间的自动调整问题

ffmpeg - 如何为 ffmpeg HLS 导出的文件夹提供自定义文件夹名称?

ffmpeg - 录制时音频/视频不同步

unix - 在unix下将视频流MPEGTS(H264)分割成文件 block

vlc - 我可以在 vlc 中制作停靠的播放列表而不是主宰窗口吗?

ios - 在整个应用程序中使用单个 Realm 实例/变量

ios - UIImagePickerController 大小 iPhone 5

ios - pathForResource 不返回数组

lua - 如何为 VLC 编写响应播放、暂停和停止事件的插件?

audio - 在 VLC 中的音轨之间添加暂停