iOS 开发之编译ffmpeg (报错分析1)
- ffmpeg 自动下载及编译
目前用的最多的是 :build-ffmpeg.sh
下载地址:https://github.com/kewlbear/FFmpeg-iOS-build-script.git
cd 到 build-ffmpeg.所在的目录下,然后执行:
./build-ffmpeg.sh
这个时候如果你的Mac曾经安装过多个版本的Xcode ,执行./build-ffmpeg.sh 时可能会报错:
building arm64…
xcrun -sdk iphoneos clang is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ff