lipo命令

工作中,xcode工程遇到一个bug

file was built for archive which is not the architecture being linked armv7

找了一些资料,发现这个lipo可以查看.a库的架构类型

lipo -info *.a
看一下是不是编译为armv7的。

lipo -info libavcodec.a

Non-fat file: input/libavcodec.a is architecture: armv7

posted @ 2014-10-30 17:33  水上云天  阅读(1117)  评论(3编辑  收藏  举报