美文网首页
framework 分离架构

framework 分离架构

作者: 沙人Q | 来源:发表于2021-07-05 19:41 被阅读0次
    1.利用终端进入 framework中
    cd xxxx.framework 
    
    2.分离 arm64 架构的库
    lipo xxxx  -thin arm64 output xxxx_arm64
    
    3.分离 armv7 架构的库
    lipo xxxx  -thin armv7 output xxxx_armv7
    
    4.合并arm64 和 armv7
    lipo -create xxxx_arm64  xxxx_armv7 -output  xxxx
    
    5. 查看架构

    lipo -info xxxx

    Architectures in the fat file: xxxx are: armv7 arm64 
    

    相关文章

      网友评论

          本文标题:framework 分离架构

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