如何判断静态库是否支持64位

打开终端,cd到静态库的地方。输入命令

.framework文件

lipo -info ./BuleTool.framework/BuleTool

返回结果

 

Architectures in the fat file: ./BuleTool.framework/BuleTool are: i386 armv7 armv7s 

如此便可查看你工程中的静态库是否支持64位。

.a文件

 

lipo -info libUPPayPlugin.a

结果

 

Architectures in the fat file: libUPPayPlugin.a are: armv7 armv7s arm64 i386 x86_64 

群号:186052819
原文地址:https://www.cnblogs.com/zuidap/p/7544403.html