美文网首页
iOS file lipo命令

iOS file lipo命令

作者: 平凡码农 | 来源:发表于2019-03-11 18:23 被阅读1次

    lipo

    是管理Fat File的工具, 可以查看cpu架构, 提取特定架构,整合和拆分库文件。

    查看信息,支持的cpu架构列表

    lipo -info xxxx.framework/xxxx或/xxxx.a

    将多CPU架构的库整合成Fat文件

    lipo -create xxxx xxxx -output xxxx

    提取特定的cpu架构的thin文件

    lipo xxxx -thin cpu(armv7/arm64等) -output xxxx

    移除掉特定的cpu架构的文件

    lipo -remove cpu(armv7/arm64等) xxxx -output xxxx

    file

    也可以查看支持的cpu架构

    armv7/armv7s/arm64对应的机型

    image.png

    相关文章

      网友评论

          本文标题:iOS file lipo命令

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