pod 默认生成的.a文件时arm64的,不支持低版本IOS7,开发时如果需要使用,则需要如下修改:
1、修改Profile,在文件尾部追加如下代码
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ARCHS'] = "arm64 armv7 armv7s" end end end
2、运行 pod update更新
3、打开xcode ,修改pod的build setting,Change Build Active Architecture Only
from Yes
to No
4、clean 重新编译
5、检查.a支持什么cpu,可以用以下命令
lipo -info *.a
结果
Non-fat file: libAFNetworking.a is architecture: arm64 Non-fat file: libDACircularProgress.a is architecture: arm64 Non-fat file: libMBProgressHUD.a is architecture: arm64 Non-fat file: libMWPhotoBrowser.a is architecture: arm64
说明这些.a都不支持armv7,需要修改pod设置
相关推荐
ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition
armv7白皮书,包含指令集等
ARMV7 NEON汇编指令详解中文版, 详细指令,教程,手册
ARM ® Architecture Reference Manual ARMv7-A and ARMv7-R edition 2004-2012
ARMv7-M架构参考手册,Cortex-M系列处理面向嵌入式应用,而Cortex-R系列则面向实时应用,Cortex-A,则面向广大的手机用户。这是M系列参考手册。
ARM®架构参考手册,ARMV7A和ARMV7-R版,ARM® Architecture Reference Manual, ARMv7-A and ARMv7-R edition。 各部分有比较详细的说明。
ARM v7-M Architecture application Level Reference Manual。ARM官方关于Cortex-M3体系结构的讲解。 ARMv7-M Architecture Reference Manual
Armv7-a Armv7-a 的官方参考手册
arm architecture Reference Manual ARMv7-A and ARMv7-R Errata markup, armv7a/r架构参考手册,带有勘误标记。值得下载收藏。
ARMv7架构学习必备资料!
armv7l版的pytorch1.3.0的.whl资源 树莓派armv7l cpu 上装 pytorch1.3.0, torchvision-0.4.1
ARM® Architecture Reference Manual ARMv7-A and ARMv7-R edition
ZBar 支持i386 armv6 armv7 armv7s x86_64 arm64 文件中包含多个cpu架构的静态库,我已经合并到libzbar.a中,使用这一个就可以了。
ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition
armv7架构的datasheet,详细的介绍了armv7架构的几种工作模式,以及各个模式寄存器功能等等。
ARMv7-M Architecture Reference Manual 体系结构参考手册+ARMv7-M Application Level Architecture Reference Manual应用程序级架构参考手册+ 学习资料
想要了解学习ARM内核的朋友看其中的这一本就足够了,官网下载的原版英文ARMArchitecture Reference Manual ARMv7-A and ARMv7-R edition。 还有许多其他相关配套资料。
lame支持armv6 armv7 i386 armv7s 压缩包里面有4个文件: 1. lame.h库的头文件 2. libmp3lame-armv6-armv7-i386.a是网上别人编译的lib 3. libmp3lame-armv7s.a是本人亲自动手编译的(哈哈) 4. libmp3lame.a是合并...
ARMV7架构的官方datasheet,详细介绍armv7架构处理器的各个模块设计细节