真机:
armv6:iPhone 2G/3G,iPod 1G/2G
armv7:iPhone 3GS/4/4s,iPod 3G/4G,iPad 1G/2G/3G
armv7s:iPhone5
arm64:iPhone5s之后
模拟器:
4s~5 : i386
5s~6plus : x86_64
xcode-->"Build Settings"-->"Valid Architectures”中中设置
lipo -info libfreetype.a
[只支持arm64][1.8M] Non-fat file: libfreetype.a is architecture: arm64
[支持armv7 、arm64][3.4M] Architectures in the fat file: libfreetype.a are: armv7 arm64
[支持armv7 、arm64、x86_64][5.3M] Architectures in the fat file: libfreetype.a are: armv7 arm64 x86_64
每增加一个指令集,静态库文件大小增加近一倍;
但是最终生成iOS安装包时,并不会把x86_64的指令集也打包进去;
仅支持arm64的App需要iOS8以及iOS 8以上才支持,在AppStore中显示如下
支持armv7、arm64的App在AppStore显示如下

至2015年二月一日起,苹果要求提交的App必须含有arm64指令集
静态库开发:
为了方便模拟器以及真机中调试,debug版的静态库包含armv7以及x86_64,
Release
版的静态库只armv7、arm64在你的工程配置
Library Search Path
中,分别配置Debug和Release
的路径;