owt-client-native
owt-client-native copied to clipboard
ios When I run scripts/build.py, an error is reported
When I run scripts/build.py, an error is reported,how can I find the cause of the problem?
Hi,
Please try the python in depot_tools.
Hello jianjunz,
I am also facing same issue , I tried depot_tools python also still same issue.

Can you help me to resolve this...Thank you
Hello,
How to resolve this please suggest me.. am stuck at building SDK of it.
Thank you
if you system is macos 11,then, find_sdk.py,modify a point,
path : src/build/mac/find_sdk.py
find_sdk.py,
in line 73,
sdks = [re.findall('^MacOSX(11.\d+).sdk$', s) for s in os.listdir(sdk_dir)]
https://blog.csdn.net/momo0853/article/details/109723741 you can refer to this link
Talk about my solution to this problem at the time. When I switched the python version to 2.7, it was fine. I don’t know if everyone’s problems are the same, but this is how I solved it, as a reference
https://blog.csdn.net/momo0853/article/details/109723741 you can refer to this link
Thank you for the method, I think someone will use it!
Did you compile successfully?
I compiled it many times, but I still got an error when I ran it in Demo.
Did you compile successfully? Yes, version 4.3
Do you mind adding WeChat? Ask for advice,
It’s a pity that I may not be able to give you some suggestions. It’s been a long time since I didn’t organize the whole process at the time. I may have forgotten a lot of things, but you can give me your email and I will send the compiled owt you
[email protected] thanks!!!!!!!
你跑Demo是OK的吗?我加在Demo里,初始化ConferenceClient 就崩溃了,
OWTConferenceClientConfiguration* config=[[OWTConferenceClientConfiguration alloc]init]; NSArray *ice=[[NSArray alloc]initWithObjects:[[RTCIceServer alloc]initWithURLStrings:[[NSArray alloc]initWithObjects:@"stun:61.152.239.47:3478", nil]], nil]; config.rtcConfiguration=[[RTCConfiguration alloc] init]; // config.rtcConfiguration.iceServers=ice; _conferenceClient=[[OWTConferenceClient alloc] initWithConfiguration:config]; _conferenceClient.delegate=self;
你跑Demo是OK的吗?我加在Demo里,初始化ConferenceClient 就崩溃了,
OWTConferenceClientConfiguration* config=[[OWTConferenceClientConfiguration alloc]init]; NSArray *ice=[[NSArray alloc]initWithObjects:[[RTCIceServer alloc]initWithURLStrings:[[NSArray alloc]initWithObjects:@"stun:61.152.239.47:3478", nil]], nil]; config.rtcConfiguration=[[RTCConfiguration alloc] init]; // config.rtcConfiguration.iceServers=ice; _conferenceClient=[[OWTConferenceClient alloc] initWithConfiguration:config]; _conferenceClient.delegate=self;
当然可以,你这里config.rtcConfiguration.iceServers=ice;这一行不注释会怎样
不注释也不行,还是崩溃了,是不是我少了 那两个静态库呢?libsioclient_tls_no_verification.a、libsioclient_tls.a我本地已经有libsioclient.a 了
https://user-images.githubusercontent.com/10527103/104809269-0c675700-5827-11eb-9197-c887f8c5ed8e.png