gpt4 book ai didi

ios - react-native 与现有 ios 应用程序集成

转载 作者:行者123 更新时间:2023-11-29 01:15:56 25 4
gpt4 key购买 nike

已按照此处的说明进行操作:

https://facebook.github.io/react-native/docs/embedded-app-ios.html#content

我能够安装所需的 React 子规范并通过 pod install 进行 React 规范我也能够运行本地 React 服务器来为 bundle 提供服务。

但我发现以下问题阻止我的应用程序在 iOS 模拟器中启动。

/.../node_modules/react-native/React/Executors/RCTContextExecutor.m:560:7: Comparison of function 'JSGlobalContextSetName' not equal to a null pointer is always true


/.../node_modules/react-native/React/Base/RCTRootView.m:230:17: Method override for the designated initializer of the superclass '-initWithFrame:' not found

任何人都可以帮助破译发生了什么事吗?似乎它特定于 React 库中的 RCTRootView 实现。

最佳答案

我认为问题出在我启动react-native应用程序的位置。它不是从项目根目录运行的。修复了模拟器中应用程序的启动问题,这些警告并不是真正的根本原因。

关于ios - react-native 与现有 ios 应用程序集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35186302/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com