owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

ios When I run scripts/build.py, an error is reported

Open DiamoandDog opened this issue 4 years ago • 17 comments

When I run scripts/build.py, an error is reported,how can I find the cause of the problem? 31599795541_ pic

DiamoandDog avatar Sep 11 '20 03:09 DiamoandDog

Hi,

Please try the python in depot_tools.

jianjunz avatar Sep 11 '20 08:09 jianjunz

Hello jianjunz,

I am also facing same issue , I tried depot_tools python also still same issue.

Screenshot 2020-11-23 at 6 15 31 PM

Can you help me to resolve this...Thank you

krishnastvSMSC avatar Nov 23 '20 12:11 krishnastvSMSC

Hello,

How to resolve this please suggest me.. am stuck at building SDK of it.

Thank you

krishnastvSMSC avatar Nov 26 '20 04:11 krishnastvSMSC

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)]

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

https://blog.csdn.net/momo0853/article/details/109723741 you can refer to this link

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

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

DiamoandDog avatar Jan 16 '21 07:01 DiamoandDog

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!

DiamoandDog avatar Jan 16 '21 07:01 DiamoandDog

Did you compile successfully?

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

I compiled it many times, but I still got an error when I ran it in Demo.

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

Did you compile successfully? Yes, version 4.3

DiamoandDog avatar Jan 16 '21 07:01 DiamoandDog

Do you mind adding WeChat? Ask for advice,

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

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

DiamoandDog avatar Jan 16 '21 07:01 DiamoandDog

[email protected] thanks!!!!!!!

Guolanlan avatar Jan 16 '21 07:01 Guolanlan

你跑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;

Guolanlan avatar Jan 16 '21 09:01 Guolanlan

你跑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;这一行不注释会怎样

DiamoandDog avatar Jan 16 '21 09:01 DiamoandDog

不注释也不行,还是崩溃了,是不是我少了 那两个静态库呢?libsioclient_tls_no_verification.a、libsioclient_tls.a我本地已经有libsioclient.a 了

Guolanlan avatar Jan 16 '21 10:01 Guolanlan

https://user-images.githubusercontent.com/10527103/104809269-0c675700-5827-11eb-9197-c887f8c5ed8e.png

Guolanlan avatar Jan 16 '21 10:01 Guolanlan