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

在模拟器报错 - PLMediaStreamingKit, 2.1.6 #58

Closed su350380433 closed 6 years ago

su350380433 commented 7 years ago

Undefined symbols for architecture x86_64: "_OBJCCLASS$_PLVideoStreamingConfiguration", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLCameraStreamingSession", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLAudioStreamingConfiguration", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLAudioCaptureConfiguration", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLVideoCaptureConfiguration", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLStreamingEnv", referenced from: objc-class-ref in AnchorLiveSession.o "_OBJCCLASS$_PLStream", referenced from: objc-class-ref in AnchorLiveSession.o "_kPLVideoStreamingQualityMedium1", referenced from: -[AnchorLiveSession VideoStreamConfFromLiveQuality:] in AnchorLiveSession.o "_kPLVideoStreamingQualityMedium2", referenced from: -[AnchorLiveSession VideoStreamConfFromLiveQuality:] in AnchorLiveSession.o "_kPLVideoStreamingQualityMedium3", referenced from: -[AnchorLiveSession VideoStreamConfFromLiveQuality:] in AnchorLiveSession.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

su350380433 commented 7 years ago

真机可以正常跑起来,求救

lawder commented 7 years ago

更新到 2.2.0 试试。