【问题标题】:App not building after installing react-native-webrtc安装 react-native-webrtc 后应用程序未构建
【发布时间】:2020-05-14 05:29:23
【问题描述】:

当我运行 ios 时,我的反应原生应用程序构建,但在使用此命令安装 webrtc 之后:

npm install react-native-webrtc --save

我得到这个错误:

error failed to build ios project. we ran xcodebuild command but it exited with error code 65

我尝试了这个解决方案:error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65 没有任何效果

有人知道如何解决这个问题吗?

【问题讨论】:

    标签: xcode react-native cocoapods


    【解决方案1】:

    如果 react-native > 0.60 然后这样做

    npm install react-native-webrtc --save 打开 xcode 并与 doc 中的步骤 1 相同

    https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/iOSInstallation.md

    跳过第 2,3,4 步 直接转到第5步并添加权限。 并为我完成了它的工作。

    【讨论】:

      猜你喜欢
      • 2018-02-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-29
      • 1970-01-01
      • 1970-01-01
      • 2020-04-03
      • 1970-01-01
      相关资源
      最近更新 更多