open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
392 stars 181 forks source link

have a error in scripts/build.py #610

Open iOSzzs opened 2 years ago

iOSzzs commented 2 years ago

ERROR at //build/config/ios/ios_sdk.gni:147:21: Script returned non-zero exit code. _ios_sdk_result = exec_script(script_name, ios_sdk_info_args, "scope") ^---------- Current dir: /Users/zhouzhishui/webrtc_h265/src/out/Debug-device-arm64/ Command: python /Users/zhouzhishui/webrtc_h265/src/build/config/mac/sdk_info.py --get_sdk_info --get_machine_info iphoneos Returned 127. See //build/config/sysroot.gni:74:5: whence it was imported. import("//build/config/ios/ios_sdk.gni") ^-------------------------------------- See //third_party/webrtc/webrtc.gni:12:1: whence it was imported. import("//build/config/sysroot.gni") ^---------------------------------- See //BUILD.gn:4:1: whence it was imported. import("third_party/webrtc/webrtc.gni") ^-------------------------------------

mengruirui commented 2 years ago

遇到了同样的问题,楼主解决了嘛

nanguantong commented 1 year ago

python 版本的问题,几种方法: (1)使用vpython执行 (2)可以换成python2 (3)在.gn文件最 后,添加script_executable = "python3"