ios如何正确编译libMobileVLCKit.a

2018-05-11  本文已影响83人  益达哥哥

1、首先要用git clone 代码 git://git.videolan.org/vlc-bindings/VLCKit.git

2、开始编译

(1)cd到VLCKit目录下,“sh compileAndBuildVLCKit.sh(执行compileAndBuildVLCKit.sh脚本)"

(2)等顺利的话一小时左右会出现all done

(3)all done出现后,想要的.a的静态库并没有出现,这时再“sh compileAndBuildVLCKit.sh -s(编译模拟器版)”

(4)等这次要快一些出现all done

(5)仍然没有出现.a文件,这时再“sh compileAndBuildVLCKit.sh -f(编译通用版framework)”

(6)等Build of static MobileVLCKit.framework completed最后出现

(7)VLCKit目录下出现一个build文件夹

(8)至此,编译部分完成

上一篇下一篇

猜你喜欢

热点阅读