Apple-查看二进制支持的CPU架构架构

Apple-查看二进制支持的CPU架构架构

苹果开发中有时需要查看库或目标文件支持的CPU架构,可以使用 lipo 或 otool命令

lipo

lipo -info filepath

otool

otool -hv filepath
#或
otool -L filepath
posted @ 2021-04-30 10:52  学院派攻城狮  阅读(731)  评论(0)    收藏  举报