1,錯誤提示:
ld: warning: directory not found for option '-L/Users/mac/Desktop/未命名文件夾/AliveVideos/Pods/../ffmpeg/lib'
Undefined symbols for architecture arm64:
"_RTMPError_Free", referenced from:
_rtmp_error_callback in libPLStreamingKit.a(push.o)
(maybe you meant: _PILI_RTMPError_Free)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2,導(dǎo)入方式:
target 'AliveVideos' do
pod 'PLCameraStreamingKit'
pod 'PLPlayerKit'
end
3,嘗試這樣做沒有了報錯
pod 'PLCameraStreamingKit', '~> 1.8.1'
pod 'PLPlayerKit'
但是這樣導(dǎo)入會少幾個東西 比如GPUImage,pili-ffmpeg等等
因為用pod也集成過其他三方 以為是沖突 后來新建項目只集成七牛的直播和播放器 還是報同樣錯誤 我已經(jīng)崩潰了。
已經(jīng)找了很多了 就是沒有找到類似的 我搞不懂 為什么pod集成也會報這樣的錯
認證0級講師
Reason:
PLCameraStreamingKit (1.8.0) is paired with pili-librtmp (1.0.3.1). GPUImage (0.1.7) is used.
PLCameraStreamingKit (1.8.1) is paired with pili-librtmp (1.0.3.1). Canceled. Use of GPUImage. Reason: GPUImage consumes performance.
PLPlayer 2.3.0 is paired with pili-librtmp (1.0.5)
The RTMPError_Free referenced by libPLStreamingKit was changed to PILI_RTMPError_Free on pili-librtmp 1.0.5
So this has an impact
Solution:
target 'AliveVideos' do
pod ' PLMediaStreamingKit'
pod 'PLPlayerKit'
end