webrtc-sdk / webrtc-build

webrtc build scripts
MIT License
23 stars 24 forks source link

ios build dl/114.5737.03 fail #23

Closed IvanSiOMMP closed 3 months ago

IvanSiOMMP commented 3 months ago

./build.ios.sh ++ dirname ./build.ios.sh

使用build.ios.sh提示以上错误,这个如何修改可以编译通过,谢谢。

IvanSiOMMP commented 3 months ago

重新下载更换114.5735.10可以编译,但编译到最后提示以下错误INFO:root:gn gen /Users/haojie/webRTC/flutter/webrtc-build/build/_build/ios/release/webrtc/framework/simulator/x64_libs --args=is_debug=false target_os="ios" target_cpu="x64" target_environment="simulator" ios_enable_code_signing=false ios_deployment_target="12.0" enable_ios_bitcode=false enable_stripping=true rtc_include_tests=false rtc_libvpx_build_vp9=false enable_dsyms=false use_custom_libcxx=false treat_warnings_as_errors=false rtc_use_h264=false is_component_build=false rtc_build_examples=false use_rtti=true rtc_build_tools=false rtc_enable_protobuf=false DEBUG:root:+['gn', 'gen', '/Users/haojie/webRTC/flutter/webrtc-build/build/_build/ios/release/webrtc/framework/simulator/x64_libs', '--args=is_debug=false target_os="ios" target_cpu="x64" target_environment="simulator" ios_enable_code_signing=false ios_deployment_target="12.0" enable_ios_bitcode=false enable_stripping=true rtc_include_tests=false rtc_libvpx_build_vp9=false enable_dsyms=false use_custom_libcxx=false treat_warnings_as_errors=false rtc_use_h264=false is_component_build=false rtc_build_examples=false use_rtti=true rtc_build_tools=false rtc_enable_protobuf=false'] {} WARNING at the command-line "--args":1:158: Build argument has no effect. is_debug=false target_os="ios" target_cpu="x64" target_environment="simulator" ios_enable_code_signing=false ios_deployment_target="12.0" enable_ios_bitcode=false enable_stripping=true rtc_include_tests=false rtc_libvpx_build_vp9=false enable_dsyms=false use_custom_libcxx=false treat_warnings_as_errors=false rtc_use_h264=false is_component_build=false rtc_build_examples=false use_rtti=true rtc_build_tools=false rtc_enable_protobuf=false ^---- The variable "enable_ios_bitcode" was set as a build argument but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list "

The build continued as if that argument was unspecified.

Done. Made 1386 targets from 250 files in 613ms DEBUG:root:popd /Users/haojie/webRTC/flutter/webrtc-build/build <-- /Users/haojie/webRTC/flutter/webrtc-build/build/_source/ios/webrtc/src DEBUG:root:+['ninja', '-C', '/Users/haojie/webRTC/flutter/webrtc-build/build/_build/ios/release/webrtc/framework/simulator/x64_libs', ':default', 'api/audio_codecs:builtin_audio_decoder_factory', 'api/task_queue:default_task_queue_factory', 'sdk:native_api', 'sdk:default_codec_factory_objc', 'pc:peerconnection', 'sdk:videocapture_objc', 'sdk:framework_objc'] {} depot_tools/ninja.py: Could not find Ninja in the third_party of the current project, nor in your PATH. Please take one of the following actions to install Ninja: