This is basically nothing to do with Swift, but it will be used later, this compilation is using the Mac to compile the iOS version, the following is the compilation process, and finally the whole project, because the download is too slow.
1. Download the source code
git clone https://github.com/bbcallen/ijkplayer.git
2. Compiling
CD ijkplayer-ios-stable
./init-ios.sh//download the dependency package here
./compile-ffmpeg.sh//compile here, there will be a few options, I choose All
3. Compilation results
Lipo ARCHS:ARMV7 armv7s arm64 i386 x86_64architectures in the FAT file:/users/jiezhang/ijkplayer-ios-stable/ios/build/u NIVERSAL/LIB/LIBAVCODEC.A are:armv7 armv7s i386 x86_64 arm64 architectures in the FAT file:/users/jiezhang/ijkplayer-ios -STABLE/IOS/BUILD/UNIVERSAL/LIB/LIBAVFORMAT.A are:armv7 armv7s i386 x86_64 arm64 architectures in the FAT file:/Users/ji EZHANG/IJKPLAYER-IOS-STABLE/IOS/BUILD/UNIVERSAL/LIB/LIBAVUTIL.A are:armv7 armv7s i386 x86_64 arm64 Architectures in The FAT file:/users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libswscale.a are:armv7 armv7s i386 x86_64 ARM64 architectures in the FAT file:/users/jiezhang/ijkplayer-ios-stable/ios/build/universal/lib/libswresample.a is : ARMv7 armv7s i386 x86_64 arm64
4.
The entire compression package is also relatively large, more than 800 m,360 cloud disk http://yunpan.cn/csy5xsjtTR2e6 Extract Code 1838
5. Test results
Swift Foundation--ijkplayer compilation