mac 下查看 第三方库的architetures

终端下输入lipo命令

lipo -info **.a / **.framework

成功会返回下面这段信息

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

如果输入lipo命令出现

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

则可能是升级系统时导致。重新安装工具。在终端中输入命令自行安装:

xcode-select -install

猜你喜欢

转载自blog.csdn.net/insaneNx/article/details/85648246