合成命令
lipo –create /Users/.../Desktop/Release-iphoneos/libiphone.a /Users/.../Desktop/Debig-iphonesimulator/libiphone.a –output /Users/.../Desktop/libiphone.a
- 静态库1:/Users/.../Desktop/Release-iphoneos/libiphone.a
- 静态库2:/Users/.../Desktop/Debig-iphonesimulator/libiphone.a
- 合成后静态库:/Users/.../Desktop/libiphone.a
查看命令
lipo -info /Users/.../Desktop/libiphone.a
输出内容
Architectures in the fat file: /Users/.../Desktop/libiphone.a are: armv7 i386 x86_64 arm64
- arvm7:真机包32位
- arm64:真机包64位
- i386:虚拟机32位
- x86_64:虚拟机64位