This is basically nothing to do with Swift, but will be used later, this compilation is using the Mac to compile the iOS version number. The following is the compilation process, and finally the entire project. Because the download is too slow.
1. Download source code
git clone https://github.com/bbcallen/ijkplayer.git
2. Compiling
CD ijkplayer-ios-stable
./init-ios.sh//download the dependency package here
The./compile-ffmpeg.sh//is compiled here. There will be a few options, all I have chosen
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 larger, more than 800 m,360 cloud disk http://yunpan.cn/csy5xsjtTR2e6 Extract Code 1838
5. Test results
Swift Foundation--ijkplayer compilation