我想构建WebRTC框架。但我有些问题
Google提供了这方面的指南。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") {
^--------------------------
我找不到有关此错误的任何信息。谁能帮我解决这个问题?
1条答案
按热度按时间wqsoz72f1#
延迟响应,但对于那些仍在努力解决这个问题的人-我有同样的问题,并通过使用'rtc_include_tests= false'构建解决了,即: