安装react-native-webrtc后无法构建应用

时间:2020-05-14 05:29:23

标签: xcode react-native cocoapods

当我运行run-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 没有任何作用

任何人都有解决该问题的方法吗?

1 个答案:

答案 0 :(得分:2)

如果本机反应> 0.60,则执行此操作

npm install react-native-webrtc-保存 打开xcode并执行doc中的步骤1

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

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