1,提示未添加xx模块(比如videoplay模块)
- 先设置manifest.json,App模块设置—Videoplayer(视频播放) 打钩
- xcode,Build Phases-Link Binary With Libraries 里面添加对应的库。
视频播放需要如下的库:(库比较多,大多数是已添加的就不用重复添加了)
liblibVideo.a DCUniVideoPublic.framework,
libc .tbd,
libbz2.tbd,
libz.tbd,
AudioToolbox.framework,
AVFoundation.framework,
CoreGraphics.framework,
CoreMedia.framework,
CoreVideo.framework,
VideoToolbox.framework,
DCUniVideoPublic.framework,
IJKMediaFramework.framework,
MediaPlayer.framework,
MobileCoreServices.framework,
OpenGLES.framework,
QuartzCore.framework,
UIKit.framework,
VideoToolbox.framework