pili-engineering / PLMediaStreamingKit

PLMediaStreamingKit 是七牛推出的一款适用于 iOS 平台的推流 SDK,支持 RTMP 推流,h.264 和 AAC 编码,硬编、软编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能。
https://github.com/pili-engineering/PLMediaStreamingKit
Apache License 2.0
543 stars 243 forks source link

PLPlayerKit 如何兼容模拟器+真机运行 #91

Closed weiwei1991 closed 6 years ago

weiwei1991 commented 6 years ago

这是模拟器运行后的的错误: Undefined symbols for architecture x86_64: "_OBJCCLASS$_PLPlayer", referenced from: 。。。。。。。。。。。 Can you give me an answer as soon as possible? Thank you very much!

depthlove commented 6 years ago

PLPlayerKit 的问题可以到 https://github.com/pili-engineering/PLPlayerKit/issues 留言。 PLPlayerKit 在 3.2.1 版本中已经支持真机+模拟器版本,详细见 https://github.com/pili-engineering/PLPlayerKit/blob/master/README.md 若需要使用模拟器 + 真机,则改用如下配置 pod "PLPlayerKit", :podspec => 'https://raw.githubusercontent.com/pili-engineering/PLPlayerKit/master/PLPlayerKit-Universal.podspec'

PLMediaStreamingKit 在最新的版本 2.3.1 已经支持真机+模拟器版本,详细见 https://github.com/pili-engineering/PLMediaStreamingKit/blob/master/README.md 默认为真机版 若需要使用模拟器 + 真机版,则改用如下配置 pod "PLMediaStreamingKit", :podspec => 'https://raw.githubusercontent.com/pili-engineering/PLMediaStreamingKit/master/PLMediaStreamingKit-Universal.podspec'

注意:鉴于目前 iOS 上架,只支持动态库真机,请在 App 上架前,更换至真机版本

depthlove commented 6 years ago

@weiwei1991 以上信息可以解决你遇到的真机+模拟器调试的问题