工作中,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

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-06-10
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案