美文网首页
组件25-二进制:库的操作-分离&合成架构包

组件25-二进制:库的操作-分离&合成架构包

作者: Lovell_ | 来源:发表于2017-07-13 23:14 被阅读11次

合成不同架构的库:lipo -create xx xx -output xxx

lipo -create Debug-iphoneos/libTools.a Debug-iphonesimulator/libTools.a -output libTools.a

分解合成库:lipo -thin 架构名称 xx -output xx

lipo -thin 架构名称(如i386) 架构路径 -output 目标路径

从合成库移除某个架构:lipo -remove 架构名称(比如armv7s) xx(库名) -output xx(库名)

比如:lip -remove armv7s LFSegmentBar(库名) -output LFSegmentBar_Remove7s(库名) ,
即:从二进制库LFSegmentBar中移除armv7s构架,得到LFSegmentBar_Remove7s二进制库。

相关文章

网友评论

      本文标题:组件25-二进制:库的操作-分离&合成架构包

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