美文网首页
检查某个文件是否支持 bitcode

检查某个文件是否支持 bitcode

作者: bigCatloveFish | 来源:发表于2018-04-17 14:46 被阅读19次
  1. .a文件检查
otool -arch armv7 -l xxx.a | grep __bitcode | wc -l

如果出现数字表明这个.a文件支持bitcode

  1. framework 文件检查
otool -l xxxx | grep __LLVM | wc -l

若framework 使用lipo 指令之后 需要进行拆解合并。

otool -arch armv7 -l xxxx | grep __LLVM | wc -l

相关文章

网友评论

      本文标题:检查某个文件是否支持 bitcode

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