react-native - 无法构建 iOS 项目。我们运行了“xcodebuild”命令,但它以错误代码 65 退出 - 反应原生
问题描述
我有一个 RN 项目,它在 android 中运行良好,但在 iOS 中出现问题。我在其中使用了 react-native-firebase。是firebase产生的问题吗?
什么不起作用: - 在 Xcode 中使用旧设置并不能解决问题。- 从 xcode 运行项目
如果我运行 react-native run-ios,则会出现以下错误:
error Failed to build iOS project. We ran "xcodebuild" command but it exited
with error code 65. To debug build logs further, consider building your app with
Xcode.app, by opening qfo.xcworkspace
如果我从 xcode 运行项目,图像中会出现构建错误:
在 RNFirebaseInstanceId.m 文件中
解决方案
#endif
不见了 ?
请检查导入是否具有以下语法
#if __has_include("myinclude.h")
# include "myinclude.h"
#endif
推荐阅读
- request - JSTL fn:包含未正确比较值
- c - 为什么用 0xff 对字符进行按位与?
- wpf - 更改复选框矩形的大小而不更改其内容
- python - 从 GCS 存储桶中读取标头 csv python
- javascript - 即使将状态值存储在本地存储 [React/React-router] 中,状态值也会丢失
- json - 有没有办法在编译时而不是运行时获取 *ngFor 的角度模板?
- firebase - FirebaseCrashlytics:设置请求失败
- angular - Angular 12 - 更改注入组件的值不更新 html
- javascript - 单击注册按钮时,将出现 localhost 注册弹出窗口
- c - 以“内存对齐”方式读取 5 位块中的位