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
网友评论