定制 MobileVLCKit 播放开发
前言
集成
集成的方法大约分为 2 种,一种是自己通过 vlckit 源码编译的类库,另一个是官方给出的类库。
对于自己合成的库,在引入项目中后,需要添加所需的其他类库。一定不要忘记添加 libc++ 类库,可能会出现 not found for architecture x86_64
情况。
现在集成 MobileVLCKit 的方法有很多,其他集成方法:
1、使用 Cocoapods 集成 pod 'MobileVLCKit'
2、可以去其网站进行下载MobileVLCKit iOS,将其收到添加到项目中。手动添加一定要添加所需的其他类库,否者会编译失败。
具体使用方面可以参考官方开源客户端VLC-iOS
1 | AudioToolbox.framework |
FAQ
在 Xcode 10 中打包占用资源太多,导致系统卡顿问题。可以参考
Xcode 10 Archive/Release faild 给出的解决方法。
Workaround: copy
into will resolve the problem successfully.
Path to dsymutil: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil
- Load the project [See Readme.md, https://github.com/theyongdai/simpleVLCPlayer]
- Archive the target
参考资料
- 版权声明:自由转载-保持署名-非商用-非衍生 ( CC BY-NC-ND 4.0 )