FDK_AAC是用来编解码AAC格式音频文件的开源库。下载地址
使用脚本编译出用于iOS的静态库
1 | #!/bin/sh |
一杯咖啡板蓝根的时间,编译好的静态库已经躺在指定的路径下啦。
让我们看看多架构的包包1
$file libfnk_aac.a
MachO如下,一切正常1
2
3
4
5libfdk-aac.a: Mach-O universal binary with 4 architectures: [i386:current ar archive random library] [arm64]
libfdk-aac.a (for architecture i386): current ar archive random library
libfdk-aac.a (for architecture armv7): current ar archive random library
libfdk-aac.a (for architecture x86_64): current ar archive random library
libfdk-aac.a (for architecture arm64): current ar archive random library