ios - xcode8同时导入PLCameraStreamingKit和PLPlayerKit 真机运行也报错
PHP中文网
PHP中文网 2017-04-18 09:45:15
0
3
514

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,导入方式:
target 'AliveVideos' do
pod 'PLCameraStreamingKit'
pod 'PLPlayerKit'
end
3,尝试这样做没有了报错

pod 'PLCameraStreamingKit', '~> 1.8.1'
pod 'PLPlayerKit'
但是这样导入会少几个东西  比如GPUImage,pili-ffmpeg等等

因为用pod也集成过其他三方 以为是冲突  后来新建项目只集成七牛的直播和播放器  还是报同样错误   我已经崩溃了。

已经找了很多了 就是没有找到类似的 我搞不懂 为什么pod集成也会报这样的错

PHP中文网
PHP中文网

认证0级讲师

répondre à tous(3)
PHPzhong

L'avez-vous résolu ? Ajoutez-moi au 1953959791 pour en discuter

伊谢尔伦

L'avez-vous résolu ? Veuillez demander

巴扎黑

Raison :
PLCameraStreamingKit (1.8.0) est associé à pili-librtmp (1.0.3.1) et GPUImage (0.1.7) est utilisé
PLCameraStreamingKit (1.8.1) est associé à pili-librtmp ( 1.0 .3.1) Annuler l'utilisation de GPUImage. Raison : GPUImage consomme des performances.
PLPlayer 2.3.0 est associé à pili-librtmp (1.0.5)
Le RTMPError_Free référencé par libPLStreamingKit a été remplacé par PILI_RTMPError_Free sur pili-librtmp 1.0.5
Il y a donc un impact
Solution :
cible 'AliveVideos' do
pod 'PLMediaStreamingKit'
pod 'PLPlayerKit'
fin

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!