FFmpeg执行脚本编译过程的坑

终端执行./build-ffmpeg.sh编译FFmpeg出现这样的错误提示:
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
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
在终端执行sudo xcode-select --switch /Applications/Xcode.app,如果发现没有编译出FFmpeg-iOS,再继续执行./build-ffmpeg.sh,就有了

你可能感兴趣的:(FFmpeg执行脚本编译过程的坑)