从framework中分离架构:
lipo XXXX.framework/XXXX -thin arm64 -output XXXX.framework/XXXX-arm64
lipo XXXX.framework/XXXX -thin armv7 -output XXXX.framework/XXXX-armv7
lipo XXXX.framework/XXXX -thin armv7s -output XXXX.framework/XXXX-armv7s
lipo XXXX.framework/XXXX -thin x86_64 -output XXXX.framework/XXXX-x86_64
lipo XXXX.framework/XXXX -thin i386 -output XXXX.framework/XXXX-i386
示例分别表示分离出arm64、armv7、armv7s、x86_64和i386架构, 并添加-xxx命名
合成架构
lipo -create XXXX.framework/XXXX-armv7 XXXX.framework/XXXX-arm64 -output XXXX.framework/XXXX
示例代表将armv7余arm64合成
架构查询
lipo -info XXXX.framework/XXXX
网友评论