1.利用終端進(jìn)入 framework中
cd xxxx.framework
2.分離 arm64 架構(gòu)的庫(kù)
lipo xxxx -thin arm64 output xxxx_arm64
3.分離 armv7 架構(gòu)的庫(kù)
lipo xxxx -thin armv7 output xxxx_armv7
4.合并arm64 和 armv7
lipo -create xxxx_arm64 xxxx_armv7 -output xxxx
5. 查看架構(gòu)
lipo -info xxxx
Architectures in the fat file: xxxx are: armv7 arm64