美文网首页
静态库cpu架构查看

静态库cpu架构查看

作者: zjunchao | 来源:发表于2015-12-28 09:56 被阅读303次

使用lipo -info 命令

localhost:leCloudPlayerSDK zjc$ lipo -info libLeClouldLivingPlayer.a 
Architectures in the fat file: libLeClouldLivingPlayer.a are: armv7 i386 x86_64 arm64 

使用file命令

localhost:leCloudPlayerSDK zjc$ file libLeClouldLivingPlayer.a 
libLeClouldLivingPlayer.a: Mach-O universal binary with 4 architectures
libLeClouldLivingPlayer.a (for architecture armv7): current ar archive random library
libLeClouldLivingPlayer.a (for architecture i386):  current ar archive random library
libLeClouldLivingPlayer.a (for architecture x86_64):    current ar archive random library
libLeClouldLivingPlayer.a (for architecture arm64): current ar archive random library

相关文章

网友评论

      本文标题:静态库cpu架构查看

      本文链接:https://www.haomeiwen.com/subject/wgbbhttx.html