ijkplay ./compile-ffmpeg.sh all 报错./compile-ffmpeg.sh all

prefix=/Workspace/Support/ijkplayer-ios/ios/build/ffmpeg-armv7/output  xcrun -sdk iphoneos clang
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 #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

解决方案是

//报错的原因是因为脚本找不到xcode了
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
0 0 投票数
文章评分
订阅评论
提醒
guest
0 评论
内联反馈
查看所有评论
京ICP备17066706号-1
0
希望看到您的想法,请您发表评论x