Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

换了台mac跑老react-native项目,手动导入的LFliveKit源码,编译报错 #363

Open
SpringAndMay opened this issue May 26, 2021 · 0 comments

Comments

@SpringAndMay
Copy link

react-native项目,换了台mac开发,出现环境问题,自己开发的一个框架用了LFLiveKit的源码,编译报错,官方要求的link相关框架已经导入,
ex: Link with required frameworks:
* UIKit
* Foundation
* AVFoundation
* VideoToolbox
* AudioToolbox
* libz
* libstdc++
这样操作后还是不行,报错信息如下:
Undefined symbols for architecture x86_64:
"_PILI_RTMPPacket_Alloc", referenced from:
-[LFStreamRTMPSocket sendPacket:data:size:nTimestamp:] in libXiaoZhi.a(LFStreamRtmpSocket.o)
"_PILI_RTMPPacket_Free", referenced from:
-[LFStreamRTMPSocket sendPacket:data:size:nTimestamp:] in libXiaoZhi.a(LFStreamRtmpSocket.o)
"_AMF_EncodeNamedNumber", referenced from:
-[LFStreamRTMPSocket sendMetaData] in libXiaoZhi.a(LFStreamRtmpSocket.o)
"_AMF_EncodeNamedString", referenced from:
-[LFStreamRTMPSocket sendMetaData] in libXiaoZhi.a(LFStreamRtmpSocket.o)
"_PILI_RTMP_SendPacket", referenced from:
-[LFStreamRTMPSocket sendMetaData] in libXiaoZhi.a(LFStreamRtmpSocket.o)
-[LFStreamRTMPSocket RtmpPacketSend:] in libXiaoZhi.a(LFStreamRtmpSocket.o).......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant