Skip to content

ma125125t/lib-fdk-aac-iOS-bitcodeSupport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lib-fdk-aac-iOS-bitcodeSupport

Shell script to build fdk-aac for use in iOS apps.

directly use

unzip lib-fdk-aac-2.0.1,this lib contains architecture : i386 armv7 x86_64 arm64 arm64e.and it support bitcode already

If you want to build yourself,please continue.

Preparation

brew install automake libtool

Compile

Unzip fdk-aac-master.zip,here we use master branch.

cd fdk-aac-2.0.1
./autogen
cd ..
./build-fdk-aac
  • Build all:
build-fdk-aac.sh
  • Build for some architectures:
build-fdk-aac.sh armv7s x86_64
  • Build universal library from separately built architectures:
build-fdk-aac.sh lipo

*If you don't need bitcode support,remove -fembed-bitcode in build-fdk-aac.sh

Verify bitcode

lipo -thin arm64 libfdk-aac.a -output libfdk-aac-arm64.a

otool -l libfdk-aac-arm64.a | grep __LLVM | wc -l

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages