1.ijkPlayer播放器返回奔潰:
IJKFFMoviePlayerController mpc = (__bridge IJKFFMoviePlayerController)opaque;

未解決:
1.remote: error: File xxx/IJKMediaFramework.framework/IJKMediaFramework is 112.62 MB; this exceeds GitHub's file size limit of 100.00 MB
原因分析:
git上傳錯(cuò)誤,原因是GitHub對(duì)上傳的文件大小有限制,限制為100MB,而IJKMediaFramework的大小為112MB。
解決途徑:IJKMediaFramework包無法正常上傳github,只能去掉后再次上傳。IJKMediaFramework以其他形式保留。
2. ff_read(83):EXC_BAD_ACCESS(code=1,addredd=0x20)
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
**info.plist中添加NSCameraUsageDescription即可。
3. IJKMediaFramework(http.o)編譯失敗
報(bào)錯(cuò)信息如下:
Undefined symbols for architecture x86_64:
"_inflate", referenced from:
_http_read_stream in IJKMediaFramework(http.o)
_rtmp_open in IJKMediaFramework(rtmpproto.o)
"_inflateEnd", referenced from:
_http_close in IJKMediaFramework(http.o)
_http_read_header in IJKMediaFramework(http.o)
_rtmp_open in IJKMediaFramework(rtmpproto.o)
"inflateInit2", referenced from:
_http_read_header in IJKMediaFramework(http.o)
"inflateInit", referenced from:
_rtmp_open in IJKMediaFramework(rtmpproto.o)
"_uncompress", referenced from:
_id3v2_read_internal in IJKMediaFramework(id3v2.o)
_mov_read_cmov in IJKMediaFramework(mov.o)
"_zlibCompileFlags", referenced from:
_http_read_header in IJKMediaFramework(http.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
原因是:缺少libz.tbd庫
解決方案:Build Phases-Link Binary with Libraries-libz.tbd
