同时集成PLPlayerKit和PLMediaStreamingKit的报错情况?
这是pod进去的版本情况
Analyzing dependencies
Downloading dependencies
Installing HappyDNS (0.3.10)
Installing PLMediaStreamingKit (2.1.3)
Installing PLPlayerKit (2.3.0)
Installing pili-ffmpeg (3.1.0)
Installing pili-librtmp (1.0.5)
Generating Pods project
Integrating client project
pod进去以后模拟器运行没错真机运行报错错误情况
Undefined symbols for architecture armv7:
"_PILI_RTMPPacket_Alloc", referenced from:
_pili_write_flv_tag in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMPPacket_Free", referenced from:
_pili_write_flv_tag in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_Close", referenced from:
__pili_stream_push_close in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_Alloc", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_IsConnected", referenced from:
_pili_write_flv_tag in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_Init", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMPPacket_Reset", referenced from:
_pili_write_flv_tag in libPLMediaStreamingKit.a(push.o) _pili_flv_tag_mux in libPLMediaStreamingKit.a(flv_muxer.o)
"_OBJC_CLASS_$_QNNetworkInfo", referenced from:
objc-class-ref in libPLMediaStreamingKit.a(PLLiveStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(PLSpeedMeasure.o) objc-class-ref in libPLMediaStreamingKit.a(PLStreamingSession.o) objc-class-ref in libPLPlayerKitPrv.a(PLPlayer.o)
"_PILI_RTMP_Connect", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_ConnectStream", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_Version", referenced from:
-[PLStreamingSession(QoS) postSystemNotify] in libPLMediaStreamingKit.a(PLStreamingSession.o)
"_PILI_RTMP_Free", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o) __pili_stream_push_close in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_EnableWrite", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_GetReqId", referenced from:
-[PLStreamingSession(QoS) onStreamStateConnectedNotify] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) onStreamSendMetadata] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) postStreamStateChangedNotify:] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) postStreamEndNotify] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) postStreamStartNotify] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) postStreamErrorNotify:] in libPLMediaStreamingKit.a(PLStreamingSession.o) -[PLStreamingSession(QoS) postStreamNotify] in libPLMediaStreamingKit.a(PLStreamingSession.o) ...
"_PILI_RTMPError_Free", referenced from:
_pili_error_from_rtmp_error in libPLMediaStreamingKit.a(push.o)
"_PILI_RTMP_SetupURL", referenced from:
_pili_stream_push_open in libPLMediaStreamingKit.a(push.o)
"_OBJC_CLASS_$_QNResolver", referenced from:
objc-class-ref in libPLMediaStreamingKit.a(PLLiveStreamingSession.o) objc-class-ref优艾设计网_在线设计 in libPLMediaStreamingKit.a(PLSpeedMeasure.o) objc-class-ref in libPLMediaStreamingKit.a(PLStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(UIDevice+ReportInfo.o) objc-class-ref in libPLPlayerKitPrv.a(UIDevice+PLPlayerReportInfo.o)
"_PILI_RTMP_SendPacket", referenced from:
_pili_write_flv_tag in libPLMediaStreamingKit.a(push.o)
"_OBJC_CLASS_$_QNIP", referenced from:
objc-class-ref in libPLMediaStreamingKit.a(PLLiveStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(PLSpeedMeasure.o) objc-class-ref in libPLMediaStreamingKit.a(PLStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(UIDevice+ReportInfo.o) objc-class-ref in libPLPlayerKitPrv.a(UIDevice+PLPlayerReportInfo.o)
"_OBJC_CLASS_$_QNDnspodFree", referenced from:
objc-class-ref in libPLMediaStreamingKit.a(PLLiveStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(PLSpeedMeasure.o) objc-class-ref in libPLMediaStreamingKit.a(PLStreamingSession.o) objc-class-ref in libPLPlayerKitPrv.a(PLPlayer.o)
"_OBJC_CLASS_$_QNDnsManager", referenced from:
objc-class-ref in libPLMediaStreamingKit.a(PLLiveStreamingSession.o) objc-class-ref in libPLMediaStreamingKit.a(PLSpeedMeasure.o) objc-class-ref in libPLMediaStreamingKit.a(PLStreamingSession.o) objc-class-ref in libPLPlayerKitPrv.a(PLPlayer.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
精彩评论