工作中,xcode工程遇到一个bugfile was built for archive which is not the architecture being linked armv7找了一些资料,发现这个lipo可以查看.a库的架构类型lipo -info *.a看一下是不是编译为armv7的。lipo -info libavcodec.aNon-fat file: input/libavcodec.a is architecture: armv7