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'}
网友评论