首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何为ios构建webRTC框架

如何为ios构建webRTC框架
EN

Stack Overflow用户
提问于 2021-04-24 14:52:22
回答 1查看 206关注 0票数 0

我想构建WebRTC框架。但我有一些问题。

谷歌提供了关于这方面的指南。https://webrtc.github.io/webrtc-org/native-code/ios/

以下是我的代码

代码语言:javascript
复制
# debug build for simulator
gn gen out/ios_sim --args='target_os="ios" target_cpu="x64"'

但它失败了,并给出了以下注释。

代码语言:javascript
复制
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") {
  ^--------------------------

我找不到有关此错误的任何信息。有人能帮我解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2021-10-27 23:52:00

延迟响应,但对于那些仍在与此问题作斗争的人-我有同样的问题,并通过使用‘rtc_include_test=false’来解决,即:

代码语言:javascript
复制
gn gen out/ios_sim --args='target_os="ios" target_cpu="x64" rtc_include_tests=false'
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67240091

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档