我想构建WebRTC框架。但我有一些问题。
谷歌提供了关于这方面的指南。https://webrtc.github.io/webrtc-org/native-code/ios/
以下是我的代码
# debug build for simulator
gn gen out/ios_sim --args='target_os="ios" target_cpu="x64"'但它失败了,并给出了以下注释。
ERROR at //webrtc.gni:486:32: Assignment had no effect.
xctest_module_target = "//base/test:google_test_runner"
^-------------------------------
You set the variable "xctest_module_target" here and it was unused before it went
out of scope.
See //testing/test.gni:451:5: whence it was called.
target(ios_test_target_type, _test_target) {
^-------------------------------------------
See //webrtc.gni:443:3: whence it was called.
test(target_name) {
^------------------
See //BUILD.gn:536:3: whence it was called.
rtc_test("rtc_unittests") {
^--------------------------我找不到有关此错误的任何信息。有人能帮我解决这个问题吗?
发布于 2021-10-27 23:52:00
延迟响应,但对于那些仍在与此问题作斗争的人-我有同样的问题,并通过使用‘rtc_include_test=false’来解决,即:
gn gen out/ios_sim --args='target_os="ios" target_cpu="x64" rtc_include_tests=false'https://stackoverflow.com/questions/67240091
复制相似问题