美文网首页
iOS IJKMediaFramework集成私有库采坑

iOS IJKMediaFramework集成私有库采坑

作者: 00822452baa5 | 来源:发表于2019-01-18 11:28 被阅读21次

cocoapods lib lint的时候 报错如下
ld: illegal text-relocation to 'cstring' in
libavcodec.a(aac_adtstoasc_bsf.o) from '_aac_adtstoasc_filter' in libavcodec.a(aac_adtstoasc_bsf.o) for architecture i386

搜了半天在ijkplayer的issues中搜到相关信息
https://github.com/Bilibili/ijkplayer/issues/1701

需要在spec文件配置下
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-read_only_relocs suppress'}

相关文章

网友评论

      本文标题:iOS IJKMediaFramework集成私有库采坑

      本文链接:https://www.haomeiwen.com/subject/ukagdqtx.html